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!



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2bT89nN
via IFTTT

Aucun commentaire:

Enregistrer un commentaire