I want to redirect every frontend customer to the login page if not logged in .I am using laravel 5.5.42 and have already used code given below in my web.php file.
Route::get('/', 'Auth\AuthController@getLogin');
Route::get('login', 'Auth\AuthController@getLogin');
Thanks in advance.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire