77eceedbf7
This reverts commit a3811f944819430c278b6da6b08dc322a9b9ff65.
22 lines
646 B
Vue
22 lines
646 B
Vue
<template>
|
|
<div>
|
|
<h4 v-if="displayTitle">{{$t('settings.mfa.recovery_codes')}}</h4>
|
|
<i v-if="inProgress">{{$t('settings.mfa.waiting_a_recovery_codes')}}</i>
|
|
<template v-if="ready">
|
|
<p class="alert warning">{{$t('settings.mfa.recovery_codes_warning')}}</p>
|
|
<ul class="backup-codes"><li v-for="code in backupCodes.codes">{{code}}</li></ul>
|
|
</template>
|
|
</div>
|
|
</template>
|
|
<script src="./mfa_backup_codes.js"></script>
|
|
<style lang="scss">
|
|
@import '../../_variables.scss';
|
|
|
|
.warning {
|
|
color: $fallback--cOrange;
|
|
color: var(--cOrange, $fallback--cOrange);
|
|
}
|
|
.backup-codes {
|
|
font-family: var(--postCodeFont, monospace);
|
|
}
|
|
</style>
|