jeudi 23 août 2018

Auth::User() does not work in laravel 5.1

The Auth::User() does not show any data when I tried to login with the Auth::attempt(['email' => $email, 'password' => $password])

The Auth::User() has detail on the same controller but when I redirect the to another controller after logged in. The Auth::User() Showing null.

It is working fine on my localserver(xampp) The issue is occurred when I make the site live on the server.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire