Selaa lähdekoodia

fix calls to approveAction, send userId instead of uuid

pull/1/head
Jonathan Cobb 4 vuotta sitten
vanhempi
commit
588df94156
2 muutettua tiedostoa jossa 3 lisäystä ja 3 poistoa
  1. +2
    -2
      src/account/NewNetworkPage.vue
  2. +1
    -1
      src/auth/MultifactorAuthPage.vue

+ 2
- 2
src/account/NewNetworkPage.vue Näytä tiedosto

@@ -427,7 +427,7 @@
if (code === null || code === '') return;
this.errors.clear();
this.approveAction({
uuid: util.currentUser().uuid,
userId: util.currentUser().uuid,
code: code,
messages: this.messages,
errors: this.errors
@@ -438,7 +438,7 @@
},
resendVerification(contact) {
this.resendVerificationCode({
uuid: util.currentUser().uuid,
userId: util.currentUser().uuid,
contact: contact,
messages: this.messages,
errors: this.errors


+ 1
- 1
src/auth/MultifactorAuthPage.vue Näytä tiedosto

@@ -79,7 +79,7 @@
});
} else {
this.approveAction({
uuid: this.username,
userId: this.username,
code: code,
messages: this.messages,
errors: this.errors


Ladataan…
Peruuta
Tallenna