diff --git a/system/display/index.html b/system/display/index.html index ccb9255..ee6346a 100644 --- a/system/display/index.html +++ b/system/display/index.html @@ -23,7 +23,9 @@

Enter your credentials or swipe your ID card to login.



- diff --git a/system/main.js b/system/main.js index 260509a..31d4d97 100644 --- a/system/main.js +++ b/system/main.js @@ -11,10 +11,6 @@ function getLoginTest() { { username: "edmund", password: "qwerty" - }, - { - username: "", - password: "" } ]; return loginTest; @@ -82,6 +78,7 @@ function uLogin(){ } else{ console.log("No such account"); + document.getElementById("errortext").innerHTML = "Error: invalid credentials."; } }