Email validation issues on 5.7.5.4

Permalink
I am having issues with people trying to register on our site. For some reason since I've updated to 5.7.5.4 we are getting "Invalid email address provided". Need help with this issue if anyone can help.

Thanks.

jmnino
 
jero replied on at Permalink Reply
jero
IMHO, it's a bug - introduced in 5.7.5.4

You can get round it by overriding the register controller and changing line 59 to

if (!$vals->email($_POST['uEmail'], false, false)) {


This turns off strict email address checking, but will still stop people entering email addresses without an @ in them, but it will allow "user@example", which is not ideal.

To create an override:
1) Turn off and clear all the c5 caches
2) Copy from your updates folder the file concrete/controllers/single_page/register.php to application/controllers/single_page/register.php.
3) Change the namespace in your new file to Application\Controller\SinglePage;
4) Turn on caches after ensuring your registration page works.
jero replied on at Permalink Reply
jero
https://www.concrete5.org/developers/bugs/5-7-5-5/registration-does-not-accept-valid-email-address/
jero replied on at Permalink Reply
jero
5.7.5.6 is now available which incorporates a fix for this issue.