|
@@ -338,8 +338,8 @@ export const loginResponseStub = {
|
|
|
shouldChangePassword: false,
|
|
|
},
|
|
|
cookie: [
|
|
|
- 'immich_access_token=cmFuZG9tLWJ5dGVz; HttpOnly; Secure; Path=/; Max-Age=604800; SameSite=Lax;',
|
|
|
- 'immich_auth_type=oauth; HttpOnly; Secure; Path=/; Max-Age=604800; SameSite=Lax;',
|
|
|
+ 'immich_access_token=cmFuZG9tLWJ5dGVz; HttpOnly; Secure; Path=/; Max-Age=34560000; SameSite=Lax;',
|
|
|
+ 'immich_auth_type=oauth; HttpOnly; Secure; Path=/; Max-Age=34560000; SameSite=Lax;',
|
|
|
],
|
|
|
},
|
|
|
user1password: {
|
|
@@ -354,8 +354,8 @@ export const loginResponseStub = {
|
|
|
shouldChangePassword: false,
|
|
|
},
|
|
|
cookie: [
|
|
|
- 'immich_access_token=cmFuZG9tLWJ5dGVz; HttpOnly; Secure; Path=/; Max-Age=604800; SameSite=Lax;',
|
|
|
- 'immich_auth_type=password; HttpOnly; Secure; Path=/; Max-Age=604800; SameSite=Lax;',
|
|
|
+ 'immich_access_token=cmFuZG9tLWJ5dGVz; HttpOnly; Secure; Path=/; Max-Age=34560000; SameSite=Lax;',
|
|
|
+ 'immich_auth_type=password; HttpOnly; Secure; Path=/; Max-Age=34560000; SameSite=Lax;',
|
|
|
],
|
|
|
},
|
|
|
user1insecure: {
|
|
@@ -370,8 +370,8 @@ export const loginResponseStub = {
|
|
|
shouldChangePassword: false,
|
|
|
},
|
|
|
cookie: [
|
|
|
- 'immich_access_token=cmFuZG9tLWJ5dGVz; HttpOnly; Path=/; Max-Age=604800; SameSite=Lax;',
|
|
|
- 'immich_auth_type=password; HttpOnly; Path=/; Max-Age=604800; SameSite=Lax;',
|
|
|
+ 'immich_access_token=cmFuZG9tLWJ5dGVz; HttpOnly; Path=/; Max-Age=34560000; SameSite=Lax;',
|
|
|
+ 'immich_auth_type=password; HttpOnly; Path=/; Max-Age=34560000; SameSite=Lax;',
|
|
|
],
|
|
|
},
|
|
|
};
|