remember me auth

This commit is contained in:
les
2020-02-01 22:39:31 +01:00
parent d0e9f417fd
commit 41791346ee
4 changed files with 9 additions and 13 deletions

View File

@@ -70,8 +70,9 @@ module.exports = {
// localStorage: false, // https://github.com/nuxt-community/auth-module/issues/425
cookie: {
prefix: 'auth.',
expires: 360,
maxAge: 60 * 60 * 24 * 30
options: {
maxAge: 60 * 60 * 24 * 30 * 12 * 5
}
},
redirect: {
login: '../login'