lgraba / Prty

A small Laravel application for me to play around with
1 stars 0 forks source link

Passing Variables to the Sign In View #3

Closed lgraba closed 9 years ago

lgraba commented 9 years ago

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.

lgraba commented 9 years ago

After looking at some other possible ways, this seems fine to me.