Renames, clear token, show signin options based on env
This commit is contained in:
@@ -66,7 +66,7 @@ router.get('google.callback', async ctx => {
|
||||
await team.createFirstCollection(user.id);
|
||||
}
|
||||
|
||||
ctx.cookies.set('lastLoggedIn', 'google', {
|
||||
ctx.cookies.set('lastSignedIn', 'google', {
|
||||
httpOnly: false,
|
||||
expires: new Date('2100'),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user