Same boat here, can't make Auth to work,
Replace line 24 with:
if(Auth::attempt(array('username' => Input::get('email'), 'password' => Input::get('password'))))
Give that a shot.
What do you mean by "the same" ?
You're just returning true upon a successful login... Replace line 26 with
dd('Great sexy success');
If you see it, congrats, you're logged in.
Working for me now (my code had 'Password' as second key)
Funnies mistake I ever made:
$member->password = Hash::make('password');
When they register I and storing password as "password".
It should be
$member->password = Hash::make(Input::get('password'));
Sign in to participate in this thread!
We'd like to thank these amazing companies for supporting us
The Laravel portal for problem solving, knowledge sharing and community building.