Fix: reset admin error msg on successful login
This commit is contained in:
1 parent
1bb9d5792f
commit
7de25df051
1 file changed
+2
@@ -93,6 +93,8 @@
|
||||
this.db = JSON.parse(xhr.responseText);
|
||||
this.expandDb();
|
||||
this.loggedIn = true;
|
||||
this.error = '';
|
||||
this.passwordWrong = false;
|
||||
}
|
||||
catch(e) {
|
||||
this.error = e.toString();
|
||||
|
||||
Reference in new issue
Block a user