This commit is contained in:
Philipinho
2026-03-26 17:29:25 +00:00
parent c6d2f0c6cc
commit 2648d7bea3
8 changed files with 26 additions and 13 deletions
@@ -212,6 +212,7 @@ export class AuthController {
setAuthCookie(res: FastifyReply, token: string) {
res.setCookie('authToken', token, {
httpOnly: true,
sameSite: 'lax',
path: '/',
expires: this.environmentService.getCookieExpiresIn(),
secure: this.environmentService.isHttps(),