Hi,

I have a site on 4.6 that validates a large amount of users. Recently a user tried to create an account using a (dot) GOV email extension. Drupal did not let her in, saying that her email is invalid. I assume this is not something that is easily fixable using the regular configuration options. Does anybody know where in the core this type of validation is performed ?

Any help would be appreciated !!!

Best
- Jochen

Comments

stevenpatz’s picture

Around line 222, look for this function:

function user_validate_mail

jochenh’s picture

thanks,
that will do it !
i actually discovered that .gov emails are valid, as another user with .gov registered the other day without problems... still investigating what caused the original issue...
thanks for the hint though !

- jochen

-------

http://quilted.org
http://jochenhartmann.com

stevenpatz’s picture

A space at the end of the address.