This commit is contained in:
Keven 2025-12-09 15:58:15 -03:00
parent 43d0863342
commit f23decf071

View file

@ -18,6 +18,7 @@ export default async function GUsuarioLoginService(form: any) {
httpOnly: true,
secure: process.env.NODE_ENV === 'production',
sameSite: process.env.NODE_ENV === 'production' ? 'none' : 'lax',
domain: process.env.NODE_ENV === 'production' ? '.http://saas_app/login' : undefined,
path: '/',
maxAge: 60 * 60 * 24,
});