From 7de25df051873d3464627cbc0fa352c0d556feff Mon Sep 17 00:00:00 2001 From: Christoph Wiechert Date: Thu, 13 Jul 2017 20:13:55 +0200 Subject: [PATCH] Fix: reset admin error msg on successful login --- app/src/Admin.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/Admin.vue b/app/src/Admin.vue index dc694e5..d2a441a 100644 --- a/app/src/Admin.vue +++ b/app/src/Admin.vue @@ -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();