Browse Source

Add comma to cookie

Alex Tran 2 years ago
parent
commit
efe204fef8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      server/apps/immich/src/modules/immich-jwt/immich-jwt.service.ts

+ 1 - 1
server/apps/immich/src/modules/immich-jwt/immich-jwt.service.ts

@@ -32,7 +32,7 @@ export class ImmichJwtService {
       accessTokenCookie = `${IMMICH_ACCESS_COOKIE}=${loginResponse.accessToken}; Secure; Path=/; Max-Age=${maxAge}; SameSite=Strict;`;
       authTypeCookie = `${IMMICH_AUTH_TYPE_COOKIE}=${authType}; Secure; Path=/; Max-Age=${maxAge}; SameSite=Strict;`;
     } else {
-      accessTokenCookie = `${IMMICH_ACCESS_COOKIE}=${loginResponse.accessToken}; HttpOnly; Path=/; Max-Age=${maxAge} SameSite=Strict;`;
+      accessTokenCookie = `${IMMICH_ACCESS_COOKIE}=${loginResponse.accessToken}; HttpOnly; Path=/; Max-Age=${maxAge}; SameSite=Strict;`;
       authTypeCookie = `${IMMICH_AUTH_TYPE_COOKIE}=${authType}; HttpOnly; Path=/; Max-Age=${maxAge}; SameSite=Strict;`;
     }