This commit is contained in:
parent
febe51db9c
commit
62b216047f
@ -129,7 +129,7 @@ export class AuthService {
|
|||||||
secure: isProduction || cookieSecure,
|
secure: isProduction || cookieSecure,
|
||||||
sameSite: "none" as const,
|
sameSite: "none" as const,
|
||||||
path: isRefreshToken ? "/auth/refresh" : "/",
|
path: isRefreshToken ? "/auth/refresh" : "/",
|
||||||
domain: domain,
|
domain: domain?.startsWith(".") ? domain : `.${domain}`,
|
||||||
maxAge: isRefreshToken ? 7 * 24 * 60 * 60 * 1000 : 15 * 60 * 1000,
|
maxAge: isRefreshToken ? 7 * 24 * 60 * 60 * 1000 : 15 * 60 * 1000,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user