浏览代码

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


正在加载...
取消
保存