Create TwoFactorAuthentication Popup

This commit is contained in:
Milos Holba
2021-06-30 13:37:44 +02:00
parent 14eaf6da4e
commit 16eb105f03
9 changed files with 324 additions and 47 deletions

View File

@@ -303,7 +303,7 @@
if(! recovery) {
this.$refs.two_factor_authentication.setErrors({
'Two Factor Authentication' : 'Incorrect code'
'Two Factor Authentication' : this.$t('validation_errors.incorrect_2fa_code')
})
}
@@ -311,7 +311,7 @@
if(recovery) {
this.$refs.two_factor_recovery.setErrors({
'Two Factor Recovery' : 'Incorrect recovery code'
'Two Factor Recovery' : this.$t('validation_errors.incorrect_2fa_recovery_code')
})
}
}