Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
MajorBook - Team202
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LeeYongJae
MajorBook - Team202
Merge requests
!13
Login with session
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Login with session
login_with_session
into
master
Overview
0
Commits
2
Pipelines
0
Changes
6
Merged
LeeYongJae
requested to merge
login_with_session
into
master
5 years ago
Overview
0
Commits
2
Pipelines
0
Changes
6
Expand
Login 기능에 세션을 추가했습니다. 전공서적검색 탭의 UI가 깨지는 오류를 수정했습니다.
0
0
Merge request reports
Viewing commit
aacef6ad
Prev
Next
Show latest version
6 files
+
109
−
128
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
6
Search (e.g. *.vue) (Ctrl+P)
aacef6ad
Login기능에 Session 적용
· aacef6ad
YongJae
authored
5 years ago
backend/routes/login.js
+
3
−
2
Options
@@ -43,11 +43,12 @@ router.get("/logout", function(req, res) {
if
(
err
)
{
console
.
log
(
err
);
}
else
{
res
.
redirect
(
"
/
"
);
// 수정해야 할 듯
console
.
log
(
"
Hello
"
);
res
.
redirect
(
"
http://localhost:8081/
"
);
// 수정해야 할 듯
}
});
}
else
{
res
.
redirect
(
"
/
"
);
res
.
redirect
(
"
http://localhost:8081
/
"
);
}
});
Loading