This commit is contained in:
2021-03-12 21:28:07 +00:00
parent 76e70fc3bb
commit b8607fc614
2 changed files with 37 additions and 4 deletions

View File

@@ -179,9 +179,7 @@ export default {
//clear any errors vm might be around from previous submit
window.$gz.form.deleteAllErrorBoxErrors(vm);
try {
let res = await window.$gz.api.post("auth/totp-disable", {
pin: vm.pin
});
let res = await window.$gz.api.post("auth/totp-disable");
if (res.error) {
vm.formState.serverError = res.error;