feat: (auth) switch to OTP code via e-mail
All checks were successful
Build BAB Application Deployment Artifact / build (push) Successful in 2m24s
All checks were successful
Build BAB Application Deployment Artifact / build (push) Successful in 2m24s
This commit is contained in:
@@ -49,6 +49,10 @@ export default route(function (/* { store, ssrContext } */) {
|
||||
return next('/login');
|
||||
}
|
||||
|
||||
if (to.name === 'login' && currentUser) {
|
||||
return next('/');
|
||||
}
|
||||
|
||||
if (requiredRoles) {
|
||||
if (!currentUser) {
|
||||
return next('/login');
|
||||
|
||||
Reference in New Issue
Block a user