From b717c94e4ead0d3a7ed9a7931379010c4b3ce44e Mon Sep 17 00:00:00 2001 From: Piyush Sharma Date: Sun, 6 Mar 2022 21:35:10 -0500 Subject: [PATCH] Added comment --- sports-matcher/src/SignIn.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sports-matcher/src/SignIn.js b/sports-matcher/src/SignIn.js index 10b9625..0466472 100644 --- a/sports-matcher/src/SignIn.js +++ b/sports-matcher/src/SignIn.js @@ -14,6 +14,8 @@ export default function SignIn() { const navigate = useNavigate(); const handleSubmit = (event) => { event.preventDefault(); + // For Phase 1, we have hardcoded the usernames and passwords as specified in the handout + // For the upcoming phases, this will be changed to secure authentication const data = new FormData(event.currentTarget); // eslint-disable-next-line no-console if (data.get('username') === "admin" && data.get('password') === "admin") {