Added comment
This commit is contained in:
		@@ -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") {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user