Is your password column long enough? It should be at least 70 characters long.
Also, does your model extend Eloquent or something else?
anlutro said:
Is your password column long enough? It should be at least 70 characters long.
Also, does your model extend Eloquent or something else?
I checked my fields again and your hunch was right. My field was set to Char(30), I switched it to varchar and have it a limit of 255. Everything works as it should.
This is the up and down statement I used in my migration file.
up()
DB::statement('ALTER TABLE `users` MODIFY COLUMN password VARCHAR(255)');
down()
DB::statement('ALTER TABLE `users` MODIFY COLUMN password CHAR(30)');
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community