I'm having auth problems in my new laravel 4 app.
The one odd thing I have noticed and this might be why is that when I do:
var_dump(Hash::check('secret', Hash::make('secret')));
in the DB seeder (where I create my hashed passwords) I get true.
When I run that same command directly in a route, I get false.
Also, when I do a simple:
var_dump(Hash::make('secret'));
directly in the route it is still false.
Is this broken or am I missing something ?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…