fix(server): Increase authentication cookie max-age (#1971)

This got missed in #1381.
This commit is contained in:
bo0tzz
2023-03-08 17:26:49 +01:00
committed by GitHub
parent 9ac087c59c
commit 838ea56605
2 changed files with 7 additions and 7 deletions

View File

@@ -24,7 +24,7 @@ export class AuthCore {
}
public getCookies(loginResponse: LoginResponseDto, authType: AuthType, isSecure: boolean) {
const maxAge = 7 * 24 * 3600; // 7 days
const maxAge = 400 * 24 * 3600; // 400 days
let authTypeCookie = '';
let accessTokenCookie = '';