Important
I have tried many answers right here published but anything works for me.
I have installed a fresh copy of Laravel 5.8 including the scaffolding about authentication with:
php artisan make:auth
After that in my localhost works fine redirecting if the users registers with name, email, password and password confirm.
Nevertheless when I upload it to my shared hosting:
I can:
- Access to register form
- Register a new user
- Redirect to login form
But it fails when:
- I try to loggin in with my email and password it only reload the window of the browser and stay in the same page (login form)
This is strange for me because:
- Works fine in localhost
- No errors 500
- The network tab only show a 200 code status
- Laravel log is empty
I have tried with:
protected $redirectTo = "home";
But anything happens, only the same behavior
I need to say that:
- No roles
- No third packages only the basic authetication system
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire