Skip to content

Commit

Permalink
Merge pull request cse442-fall-2019-offering#89 from cse442-fall-2019…
Browse files Browse the repository at this point in the history
…-offering/develop

Merge develop without blank test user from login
  • Loading branch information
RiggiG authored Dec 4, 2019
2 parents 09d01e6 + d75b0d6 commit b3204c6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 3 additions & 1 deletion system/display/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ <h1 class="login">Enter your credentials or swipe your ID card to login.</h1>
<br>
<br>
<input class="login" type="button" onclick="uLogin();" value="Login" id="login">
<!--<p class="user">New User?
<br>
<span id="errortext" style="color:red;"></span>
<!--<p class="user">New User?
<a href="#">Create Account</a>
</p>
-->
Expand Down
5 changes: 1 addition & 4 deletions system/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@ function getLoginTest() {
{
username: "edmund",
password: "qwerty"
},
{
username: "",
password: ""
}
];
return loginTest;
Expand Down Expand Up @@ -82,6 +78,7 @@ function uLogin(){
}
else{
console.log("No such account");
document.getElementById("errortext").innerHTML = "Error: invalid credentials.";
}
}

Expand Down

0 comments on commit b3204c6

Please sign in to comment.