1
0
mirror of https://git.pleroma.social/sjw/pleroma-fe.git synced 2024-11-15 13:46:25 +01:00

fix fetch codes

This commit is contained in:
Maksim Pechnikov 2019-05-31 16:01:12 +03:00
parent f934525ced
commit fa99aa4d47

View File

@ -68,7 +68,6 @@ const Mfa = {
async fetchBackupCodes () { async fetchBackupCodes () {
this.backupCodes.inProgress = true this.backupCodes.inProgress = true
this.backupCodes.codes = [] this.backupCodes.codes = []
await this.$nextTick()
this.backendInteractor.generateMfaBackupCodes() this.backendInteractor.generateMfaBackupCodes()
.then((res) => { .then((res) => {