Преглед на файлове

fix calls to approveAction, send userId instead of uuid

pull/1/head
Jonathan Cobb преди 4 години
родител
ревизия
588df94156
променени са 2 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. +2
    -2
      src/account/NewNetworkPage.vue
  2. +1
    -1
      src/auth/MultifactorAuthPage.vue

+ 2
- 2
src/account/NewNetworkPage.vue Целия файл

@@ -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 Целия файл

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


Зареждане…
Отказ
Запис