0
Can't login to Laravel system
Use my larval project after a long time and I run migrate:fresh command and it work but I Can't insert data into user table in order to login to the system , I have tried both way through user interface and Phpmyadmin. Through Phpmyadmin the data is inserted but cannot login with that data, and through user interface the data is not passing to the database what is the problem?
3 Answers
+ 3
Are you sure the insertion is successful? Did you commit after inserting new rows, or do you have autocommit enabled? How are you setting passwords for the user?
You mentioned that you are able to log in to phpmyadmin as administrator, so you should check the documentation about user management.
https://docs.phpmyadmin.net/en/latest/privileges.html
0
Tibor Santa
for password i used (Hash), previously it worked fine and user is root without password.
When i insert data in database with sign up register page, it shows me the same page without passing data in database.
0
When you call php artisan migrate:fresh
It delete all recordes in database
That is the probloem when you want to log in there is no data in database
First you should insert data after that you can log in to your dashboard