瀏覽代碼

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


Loading…
取消
儲存