Support the ongoing development of Laravel.io →
Authentication
Last updated 2 years ago.
0

Same boat here, can't make Auth to work,

Last updated 2 years ago.
0

Replace line 24 with:

if(Auth::attempt(array('username' => Input::get('email'), 'password' => Input::get('password'))))

Give that a shot.

Last updated 2 years ago.
0

the same

Last updated 2 years ago.
0

What do you mean by "the same" ?

Last updated 2 years ago.
0

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.

Last updated 2 years ago.
0

Working for me now (my code had 'Password' as second key)

Last updated 2 years ago.
0

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'));

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.