Commit Graph
9 Commits
Author SHA1 Message Date
Nicola Soranzo 5c43d2961f Use dnspython to check specifically for an "MX" DNS record
when validating the domain name of the email address for a new user.

Fix https://github.com/galaxyproject/galaxy/issues/14829 .
2022-10-27 11:17:14 +01:00
John Davis 1f3849bd1f Rename test 2022-07-08 13:41:40 -04:00
Nate Coraor a9047f848d Fix overlapping method/var name in domain validation 2022-06-16 21:09:59 -04:00
Nate Coraor 1f299a5cbf Test with quoted @ in local part of email (technically valid but we're
not allowing it)
2022-05-26 15:05:30 -04:00
Nate Coraor d1e79e0441 Test split without @ 2022-05-26 15:05:30 -04:00
Nate Coraor 37edbaf74c Trim spaces from around email addresses and usernames when registering.
Additionally, include a stricter email address validation.
2022-05-26 14:55:27 -04:00
Dannon Baker 6c155bf2ef Standardize test format 2021-01-29 12:05:41 -05:00
Dannon Baker 0b84678f43 Add a couple basic tests for username/email validation 2021-01-29 12:04:51 -05:00
John Chilton b7c1b03251 Refactor more unit tests into the galaxy-data package. 2020-07-07 13:44:32 -04:00