dimanche 24 novembre 2019

Allow authenticated user to equally access laravel 5.8 default login page

I dont know how to go about this. I want loggedin user in my web app to redirect to login page without having to logout if they want i have tried adding below code contructor method to AuthenticatesUser.php but to no avail public function __construct() { $this->middleware('auth',['only' => ['showLoginForm']]); } i was also going through the Route.php but cant find my way out. Thanks in advance



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire