@hemia/auth-sdk 0.0.16 → 0.0.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -402,7 +402,7 @@ let AuthSDKController = class AuthSDKController {
|
|
|
402
402
|
res.cookie('auth_flow', JSON.stringify(tempState), {
|
|
403
403
|
httpOnly: true,
|
|
404
404
|
secure: process.env.NODE_ENV === 'production',
|
|
405
|
-
maxAge:
|
|
405
|
+
maxAge: 7 * 24 * 60 * 60 * 1000 // 7 dias
|
|
406
406
|
});
|
|
407
407
|
res.redirect(loginUrl);
|
|
408
408
|
}
|
package/dist/hemia-auth-sdk.js
CHANGED
|
@@ -404,7 +404,7 @@ exports.AuthSDKController = class AuthSDKController {
|
|
|
404
404
|
res.cookie('auth_flow', JSON.stringify(tempState), {
|
|
405
405
|
httpOnly: true,
|
|
406
406
|
secure: process.env.NODE_ENV === 'production',
|
|
407
|
-
maxAge:
|
|
407
|
+
maxAge: 7 * 24 * 60 * 60 * 1000 // 7 dias
|
|
408
408
|
});
|
|
409
409
|
res.redirect(loginUrl);
|
|
410
410
|
}
|