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.
Thanks.
You can get round it by overriding the register controller and changing line 59 to
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.