diff --git a/config/app.ts b/config/app.ts index 8ffbf88..6514a24 100755 --- a/config/app.ts +++ b/config/app.ts @@ -102,12 +102,11 @@ export const http: ServerConfig = { |-------------------------------------------------------------------------- */ cookie: { - domain: '', path: '/', - maxAge: '2h', httpOnly: true, + sameSite: false, + domain: '.arthurdanjou.fr', secure: true, - sameSite: true, }, /* diff --git a/config/session.ts b/config/session.ts index 3ebd2d5..5247832 100755 --- a/config/session.ts +++ b/config/session.ts @@ -63,7 +63,7 @@ const sessionConfig: SessionConfig = { | Example: `2 days`, `2.5 hrs`, `1y`, `5s` and so on. | */ - age: '2 days', + age: '2h', /* |--------------------------------------------------------------------------