Hi jimgwhit and thanks for your reply. Can you give an example of such a route in L5? I'm quite new to Laravel... Thanks again!
Solution for your problem :)
Route::get('/login', 'Auth\[email protected]'); Route::get('/register', 'Auth\[email protected]');
@stojankukrika is right.
If you are changing the login route, you should also check the "Authenticate" Middleware (line 43) and also change the route to which the user will be redirected when the session expires.
@stojankukrika, thanks for your example, it works but I made it a little shorter with following code:
/* * Authentication */ Route::controllers([ 'password' => 'Auth\PasswordController', '' => 'Auth\AuthController', ]);
Is this a good way to solve this problem?
It's kinda strange that this only works in this order though. When I put the AuthController above the PasswordController the latter no longer works, somebody knows why?
Sign in to participate in this thread!
We'd like to thank these amazing companies for supporting us