Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
devorbitus authored May 4, 2024
1 parent 18bcfd8 commit 8a92e9d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ <h2>Welcome, <span id="loggedInUsername"></span>!</h2>
document.getElementById("loginForm").style.display = "none";
document.getElementById("loggedInSection").style.display = "block";
document.getElementById("loggedInUsername").textContent = username;
document.getElementById("username").value = "";
document.getElementById("password").value = "";
} else {
alert("Invalid username or password.");
}
Expand Down

0 comments on commit 8a92e9d

Please sign in to comment.