Currently, login just checks if the input is empty or not. If input is not empty, it leads the user to the homepage.
Connect the login form to authentication so that only authenticated users can go to the homepage.
Also, display some sort of error message to the user for an empty username and(or) password, or a failed authentication attempt.
Currently, login just checks if the input is empty or not. If input is not empty, it leads the user to the homepage. Connect the login form to authentication so that only authenticated users can go to the homepage. Also, display some sort of error message to the user for an empty username and(or) password, or a failed authentication attempt.