diff options
Diffstat (limited to 'front-end/src/views/Login/index.vue')
-rw-r--r-- | front-end/src/views/Login/index.vue | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/front-end/src/views/Login/index.vue b/front-end/src/views/Login/index.vue index f3a3f59..d0fa9b2 100644 --- a/front-end/src/views/Login/index.vue +++ b/front-end/src/views/Login/index.vue @@ -51,7 +51,7 @@ import Social from './components/Social.vue' import { apiCall, useMessage, useWait, useUser, useSession, useLastPage, useTitle, debugLog } from '@vnuge/vnlib.browser' import { useMfaLogin, totpMfaProcessor, IMfaFlowContinuiation, MfaMethod } from '@vnuge/vnlib.browser/dist/mfa' import { useTimeoutFn } from '@vueuse/shared' -import { isNil } from 'lodash' +import { isNil } from 'lodash-es' useTitle('Login') @@ -64,9 +64,7 @@ const { logout } = useUser(); const { loggedIn } = useSession() //Setup mfa login -const { login } = useMfaLogin([ - totpMfaProcessor() -]) +const { login } = useMfaLogin([ totpMfaProcessor() ]) //If logged in re-route to the last page the user //was on but delayed to the session has time to be set |