summaryrefslogtreecommitdiff
path: root/front-end/src/views/Login/index.vue
diff options
context:
space:
mode:
authorLibravatar vnugent <public@vaughnnugent.com>2023-08-09 11:59:15 -0400
committerLibravatar vnugent <public@vaughnnugent.com>2023-08-09 11:59:15 -0400
commit5dd4b69ebf4f407a2ba7ccc53fe43b445ab0684e (patch)
treec0e5613aa4e33c7f436f9c67d0a4d75c1b9bfb77 /front-end/src/views/Login/index.vue
parentc3c0ece6fb3a66c2de545858731a066d5542ff1e (diff)
Package updates, lodash-es, release state fixes
Diffstat (limited to 'front-end/src/views/Login/index.vue')
-rw-r--r--front-end/src/views/Login/index.vue6
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