without login If I give any URL's in the admin panel it is opening. How to solve it?
while login I am using,
$request->session()->put('userId', $user->userId);
In logout I am using,
$request->session()->forget('userId');
How can I redirect to login screen. while am calling any admin panel URL's.
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2UDH9fz
via IFTTT
Aucun commentaire:
Enregistrer un commentaire