Fix: reset admin error msg on successful login
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user