From aaec961560b1f27c9c869a26d9b3a29104e3b291 Mon Sep 17 00:00:00 2001 From: Philipp Matthias Schaefer Date: Sun, 14 Mar 2021 21:44:18 +0100 Subject: [PATCH] fix(js): clear fields after success --- src/static/webldappasswd.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/static/webldappasswd.js b/src/static/webldappasswd.js index 5d8003f..de8ab1e 100644 --- a/src/static/webldappasswd.js +++ b/src/static/webldappasswd.js @@ -95,6 +95,7 @@ function changePasswords() { switch(response.status) { case 202: showModal("Success"); + clearFields(); break; case 401: showModal("InvalidCredentials");