mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-28 07:20:49 -04:00
cookies - seetings not used with social login
This commit is contained in:
parent
75d810cc83
commit
774eabb95e
@ -414,7 +414,7 @@ router.get('/user/social/:provider', handleErrorAsync(async (req, res) => {
|
||||
}
|
||||
await saveAuthenticator(req.db, req.params.provider, dbUser, payload);
|
||||
|
||||
return res.cookie('token', token).redirect('/' + config.user.route);
|
||||
return res.cookie('token', token, cookieSettings).redirect('/' + config.user.route);
|
||||
}));
|
||||
|
||||
router.get('/user/social-connections', handleErrorAsync(async (req, res) => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user