Fix auth redirect options in configuration
This commit is contained in:
@@ -41,9 +41,9 @@ var auth = createAuth({
|
||||
router: driverRouterVueRouter
|
||||
},
|
||||
options:{
|
||||
// notFoundRedirect: '/auth/login',
|
||||
// authRedirect: '/auth/login',
|
||||
authRedirect: false, // niente redirect automatici
|
||||
notFoundRedirect: '/',
|
||||
authRedirect: '/',
|
||||
authRedirect: true, // niente redirect automatici
|
||||
notFoundRedirect: false,
|
||||
loginData: {url: '/api/auth/login', method: 'POST', redirect: '/home'},
|
||||
logoutData: {url: '/api/auth/logout', redirect: '/auth/login'},
|
||||
|
||||
Reference in New Issue
Block a user