fix(js): clear fields after success

This commit is contained in:
Philipp Matthias Schaefer 2021-03-14 21:44:18 +01:00
parent 4edbd90de8
commit aaec961560

View File

@ -95,6 +95,7 @@ function changePasswords() {
switch(response.status) {
case 202:
showModal("Success");
clearFields();
break;
case 401:
showModal("InvalidCredentials");