Toggle navigation
Toggle navigation
This project
Loading...
Sign in
이세진
/
dev-profile
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
10
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
JungSeungHyun
2021-05-25 22:58:16 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
38ef570af40855e37b314ae700f8ee8626c6ec71
38ef570a
1 parent
7722c6b0
conflictcorrect
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
src/controllers/userController.js
src/controllers/userController.js
View file @
38ef570
...
...
@@ -178,7 +178,6 @@ export const postGithubLogin = (req, res) => {
res
.
redirect
(
`/users/
${
userId
}
`
);
};
<<<<<<<
HEAD
export
const
logout
=
(
req
,
res
)
=>
{
req
.
logout
();
res
.
redirect
(
"/"
);
...
...
@@ -194,9 +193,7 @@ const getRepos = async(req,res) =>{
const
firstRepoUrl
=
latelyRepos
.[
0
].
html_url
;
const
secondRepoUrl
=
latelyRepos
.[
1
].
html_url
;
};
=======
export
const
logout
=
(
req
,
res
)
=>
{
req
.
logout
();
res
.
redirect
(
"/"
);
};
>>>>>>>
29
aa84017aef7f3207044abc818143e72cf33907
...
...
Please
register
or
login
to post a comment