logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://hacktivis.me/git/pleroma-fe.git

mfa_backup_codes.vue (737B)


  1. <template>
  2. <div class="mfa-backup-codes">
  3. <h4 v-if="displayTitle">
  4. {{ $t('settings.mfa.recovery_codes') }}
  5. </h4>
  6. <i v-if="inProgress">{{ $t('settings.mfa.waiting_a_recovery_codes') }}</i>
  7. <template v-if="ready">
  8. <p class="alert warning">
  9. {{ $t('settings.mfa.recovery_codes_warning') }}
  10. </p>
  11. <ul class="backup-codes">
  12. <li
  13. v-for="code in backupCodes.codes"
  14. :key="code"
  15. >
  16. {{ code }}
  17. </li>
  18. </ul>
  19. </template>
  20. </div>
  21. </template>
  22. <script src="./mfa_backup_codes.js"></script>
  23. <style lang="scss">
  24. .mfa-backup-codes {
  25. .warning {
  26. color: var(--cOrange);
  27. }
  28. .backup-codes {
  29. font-family: var(--monoFont);
  30. }
  31. }
  32. </style>