TwoFactorConfiguration.vue 464 B

123456789101112131415161718192021
  1. <!-- Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/ -->
  2. <script setup lang="ts">
  3. import TwoFactorConfigurationWizard from '#desktop/components/TwoFactor/TwoFactorConfigurationWizard.vue'
  4. defineProps<{
  5. data?: unknown
  6. }>()
  7. const emit = defineEmits<{
  8. redirect: [url: string]
  9. }>()
  10. const redirect = (url: string) => {
  11. emit('redirect', url)
  12. }
  13. </script>
  14. <template>
  15. <TwoFactorConfigurationWizard @redirect="redirect" />
  16. </template>