njdart / botanyAppRepo

Second Year Group Project (Formally Botany App Project)
http://users.aber.ac.uk/daw54/final
2 stars 0 forks source link

Lack of validation for login #25

Open wilmota opened 9 years ago

wilmota commented 9 years ago

Phone Number :

probably shouldn't be a valid entry for phone number.

With an excessive length, I get a "Phone number should be more than 5 digits". If you're returning an error message when a number is over 20 characters, you should probably have a different error message.

8-12 would be a much better range.

Name :

Takes numbers in name, perhaps better to validate against that