Skip to content

Commit

Permalink
Fix after login not redirected to cmap
Browse files Browse the repository at this point in the history
  • Loading branch information
attrib committed Jan 10, 2024
1 parent edfbcae commit 8d0579e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ router.get('/login', function(req, res, next) {
req.session.lastLoginCheck = Date.now();
grantResponse.access_token_end = grantResponse.raw.expires_in * 1000 + Date.now();
req.session.save(() => {
res.redirect('/map');
res.redirect('/cmap');
})
}
else {
Expand Down

0 comments on commit 8d0579e

Please sign in to comment.