4 ms·
Validating email addresses via anything but verification links are a road to hell.
by Lewisham 14y ago
Validating email addresses via anything but verification links are a road to hell.
- mlarratt 14y agoTrue, but it's not a bad idea to check for an @ in the string as a sanity check, in case the user has accidentally put their username/password/other in the field.
- deleted 14y ago[deleted]
- eru 14y agoWhy? Just restrict your validation in the UI to a warning. For email addresses, most deviations from a simple pattern are mistakes.