dimanche 28 août 2016

Laravel 5.3 can't login with Auth::attempt

i Have a fucntion

if (Auth::attempt(['username' => 'trannghj', 'password' => 'trannghj2281996'], true, true)) {
        dd(Auth::check());
    } else
        dd('Not login');

this return true but dd(Auth::check()); this return false; I use laravel 5.3 Please help me. Thank you!



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire