This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user