Fix: reset admin error msg on successful login

This commit is contained in:
Christoph Wiechert
2017-07-13 20:13:55 +02:00
parent 1bb9d5792f
commit 7de25df051

View File

@@ -93,6 +93,8 @@
this.db = JSON.parse(xhr.responseText); this.db = JSON.parse(xhr.responseText);
this.expandDb(); this.expandDb();
this.loggedIn = true; this.loggedIn = true;
this.error = '';
this.passwordWrong = false;
} }
catch(e) { catch(e) {
this.error = e.toString(); this.error = e.toString();