fix service auth
All checks were successful
Deploy Production / deploy (push) Successful in 55s

This commit is contained in:
parent febe51db9c
commit 62b216047f

View File

@ -129,7 +129,7 @@ export class AuthService {
secure: isProduction || cookieSecure,
sameSite: "none" as const,
path: isRefreshToken ? "/auth/refresh" : "/",
domain: domain,
domain: domain?.startsWith(".") ? domain : `.${domain}`,
maxAge: isRefreshToken ? 7 * 24 * 60 * 60 * 1000 : 15 * 60 * 1000,
};
}