TwoFactorConfiguration.vue 670 B

1234567891011121314151617181920212223
  1. <!-- Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/ -->
  2. <script setup lang="ts">
  3. import { useForceDesktop } from '#shared/composables/useForceDesktop.ts'
  4. defineProps<{
  5. data?: unknown
  6. }>()
  7. defineEmits<{
  8. redirect: [url: string]
  9. }>()
  10. const { forceDesktop } = useForceDesktop()
  11. </script>
  12. <template>
  13. <div class="bg-red my-1 rounded-xl px-4 py-2 text-center text-white">
  14. <p>{{ $t('The two-factor authentication is not configured yet.') }}</p>
  15. <CommonLink link="/#" class="text-white underline" @click="forceDesktop">
  16. {{ $t('Click here to set up a two-factor authentication method.') }}
  17. </CommonLink>
  18. </div>
  19. </template>