I developed an application using LARAVEL, BOOTSTRAP with POSTGRESQL and, through trial and error, managed to retrieve the logged-in user’s ID and photo from the desired table.
My application is ready, but I’m facing an issue that I can’t solve. I watched an authentication tutorial on Radsystems(https://www.youtube.com/watch?v=K2hmy2RDlwc&t=333s). It works perfectly, but when I create a user account in the database and log off, I can no longer log in with the registered username and password. The application shows an error message that the credentials are incorrect.
I need to deliver the application, and I haven’t been able to figure out how to fix the problem yet. The application was developed using a PostgreSQL database, Laravel, and Bootstrap. I hope and waiting for prompt guidance.
hi there! the problem is that when a new user is created, the password when hashed can be longer than 50 characters which is the default max characters in the db, so in your database, go to the password field and increase the varchar character size to say 255, or just make the datatype text instead of varchar, that should work
Hi Wahome-mutahi100, how are you?
I received guidance from Mr. Ruturaj Patki.
The attributes of the user table must be in “English”.
I made the correction, and now it is working.
Thank you for your help.
Regards.
Roberto Reis .'.