diff --git a/server/Auth.js b/server/Auth.js index 4a06cb12..c19f4a77 100644 --- a/server/Auth.js +++ b/server/Auth.js @@ -221,8 +221,8 @@ class Auth { res.cookie('auth_cb', callback, { maxAge: TWO_MINUTES, httpOnly: true }) } - // Store the authentication method for a year - res.cookie('auth_method', authMethod, { maxAge: 1000 * 60 * 60 * 24 * 365, httpOnly: true }) + // Store the authentication method for long + res.cookie('auth_method', authMethod, { maxAge: 1000 * 60 * 60 * 24 * 365 * 10, httpOnly: true }) } /**