i want change laravel login url from /auth/login
to login
already make change in AuthController
protected $loginPath = 'login';
and routes
Route::get('login', 'Auth\AuthController@getLogin');
Route::post('auth/login', 'Auth\AuthController@postLogin');
Route::get('logout', 'Auth\AuthController@getLogout');
i can access login page if manually go to that page
but if redirect to login page after trying to access page already protected with Middleware its still redirect to /auth/login
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire