Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/14 logout #18

Merged
merged 4 commits into from
Feb 26, 2022
Merged

Feature/14 logout #18

merged 4 commits into from
Feb 26, 2022

Conversation

CYJhub
Copy link
Collaborator

@CYJhub CYJhub commented Feb 26, 2022

로그아웃 기능 개발 완료했습니다

@CYJhub CYJhub linked an issue Feb 26, 2022 that may be closed by this pull request
@CYJhub CYJhub self-assigned this Feb 26, 2022
@CYJhub CYJhub added the feature 기능 구현 label Feb 26, 2022
Comment on lines +16 to +21
router.get('/logout',isAuth,function(req,res){
req.session.destroy(function(error){
res.redirect('/auth/login')

})
});
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

이 PR의 작업은 이 부분만 해당된다고 보면 되나요? (로그아웃)

@CYJhub
Copy link
Collaborator Author

CYJhub commented Feb 26, 2022

넵 맞습니다

@ChooSeoyeon
Copy link
Contributor

확인했습니다.

Copy link
Contributor

@ChooSeoyeon ChooSeoyeon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

확인했습니다.

@CYJhub CYJhub merged commit eecdbad into develop Feb 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature 기능 구현
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[개발] 로그아웃 기능
3 participants