If the application is unable to authenticate a user due to password (the username is validated before the authentication check), a session variable 'username' is set in the redirect line so they don't have to type in their username again. I'm not sure if this is best practice, and need to investigate other methods of passing information to the views from the controllers in Laravel, changing it if appropriate.
If the application is unable to authenticate a user due to password (the username is validated before the authentication check), a session variable 'username' is set in the redirect line so they don't have to type in their username again. I'm not sure if this is best practice, and need to investigate other methods of passing information to the views from the controllers in Laravel, changing it if appropriate.