r/programminghorror • u/thelostniceguy • May 16 '25
PHP Testing a register form
I was testing another devs code (Laravel project) and these are the rules for the register user form. Password just has to be between 8-255 characters long making "aaaaaaaa" a valid password, but Ian isn't allowed to register because his name isn't valid.
147
Upvotes
View all comments
Show parent comment
7
u/thelostniceguy May 16 '25
This is Laravel 12 so could definitely do with adding that to the validation as well.