Hi Good Day to All,
I'm encountering this issue since last week. I'm on magento 2.2.5 and tested if the theme has been the issue but it is magento not the theme.
When trying to create an account with Captcha activated it gives an error this is what is see in the browser console:
Refused to apply style from
'https://mydomain/customer/account/create/_nosecret/1/%7B%7BMEDIA_URL%7D%7Dstyles.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
then every captcha filled in , it gives an error, saying the captcha is not correct.
The weird thing is, on the contact page it works with no error.
I think this is maybe indicating the error, as the page url seems little weird to me:
https://mydomain/customer/account/create/_nosecret/1/
anyone any ideas?
Solved! Go to Solution.
My solution to this was installing google reCaptcha
https://docs.magento.com/m2/2.1/ce/user_guide/magento/extension-install-google-recaptcha.html
Hello @RockMariska
are you using magemojo Mojo Stratus™ Cloud ?
Hello @Sunil Patel,
Thank you for your response,
No, I'm not using that, actually I didn't even know what it was so I've googled it.
Additional to my issue:
When Captcha disabled in magento backend stores->configuration->customer->customer setting->captcha disabled. I'm getting loads of spam registrations and spam on contact forms.
When enabling captcha on contact form it works allright. The only issue and not working is on the registration form.
still I think the url is not like it should be
https://mydomain.nl/customer/account/create/_nosecret/1/
Is there anyone who could check the url at the end of the create account with captcha enabled?
Thanks!
My solution to this was installing google reCaptcha
https://docs.magento.com/m2/2.1/ce/user_guide/magento/extension-install-google-recaptcha.html