fix(js): clear fields after success
This commit is contained in:
parent
4edbd90de8
commit
aaec961560
@ -95,6 +95,7 @@ function changePasswords() {
|
|||||||
switch(response.status) {
|
switch(response.status) {
|
||||||
case 202:
|
case 202:
|
||||||
showModal("Success");
|
showModal("Success");
|
||||||
|
clearFields();
|
||||||
break;
|
break;
|
||||||
case 401:
|
case 401:
|
||||||
showModal("InvalidCredentials");
|
showModal("InvalidCredentials");
|
||||||
|
Loading…
Reference in New Issue
Block a user