aboutsummaryrefslogtreecommitdiff
path: root/front-end/src/views/Login
diff options
context:
space:
mode:
Diffstat (limited to 'front-end/src/views/Login')
-rw-r--r--front-end/src/views/Login/components/Social.vue12
-rw-r--r--front-end/src/views/Login/index.vue6
-rw-r--r--front-end/src/views/Login/social/[type].vue3
3 files changed, 5 insertions, 16 deletions
diff --git a/front-end/src/views/Login/components/Social.vue b/front-end/src/views/Login/components/Social.vue
index 34c5a1e..6eb65e7 100644
--- a/front-end/src/views/Login/components/Social.vue
+++ b/front-end/src/views/Login/components/Social.vue
@@ -14,20 +14,10 @@
</button>
</form>
- <form v-if="auth0Enabled" class="mt-4" @submit.prevent="SocalLogin('/login/social/auth0')">
- <button type="submit" class="btn social-button" :disabled="waiting">
- <fa-icon :icon="['fa','key']" size="xl" />
- Login with Auth0
- </button>
- </form>
-
</template>
<script setup lang="ts">
-import { apiCall, useWait, useSession, useSessionUtils, WebMessage } from '@vnuge/vnlib.browser'
-
-//auth0 enabled flag from env
-const auth0Enabled = import.meta.env.VITE_ENABLE_AUTH0 == 'true';
+import { apiCall, useWait, useSession, useSessionUtils, WebMessage } from '@vnuge/vnlib.browser'
const { waiting } = useWait()
const { browserId, publicKey } = useSession()
diff --git a/front-end/src/views/Login/index.vue b/front-end/src/views/Login/index.vue
index d0fa9b2..7c30047 100644
--- a/front-end/src/views/Login/index.vue
+++ b/front-end/src/views/Login/index.vue
@@ -48,8 +48,10 @@ import { computed, ref } from 'vue'
import Totp from './components/Totp.vue'
import UserPass from './components/UserPass.vue'
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 {
+ useMfaLogin, totpMfaProcessor, IMfaFlowContinuiation, MfaMethod, apiCall,
+ useMessage, useWait, useUser, useSession, useLastPage, useTitle, debugLog
+} from '@vnuge/vnlib.browser'
import { useTimeoutFn } from '@vueuse/shared'
import { isNil } from 'lodash-es'
diff --git a/front-end/src/views/Login/social/[type].vue b/front-end/src/views/Login/social/[type].vue
index bdb0240..da1aa25 100644
--- a/front-end/src/views/Login/social/[type].vue
+++ b/front-end/src/views/Login/social/[type].vue
@@ -73,9 +73,6 @@ const run = async () => {
case 'discord':
loginUrl = '/login/social/discord';
break;
- case 'auth0':
- loginUrl = '/login/social/auth0';
- break;
default:
router.push({ name: 'Login' })
break;