You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 7, 2021. It is now read-only.
I've added my Recaptcha keys to application_config.rb
configatron.require_captcha_on_signup = true
configatron.recaptcha_pub_key = '_...'
configatron.recaptcha_priv_key = '_...'
However, when rendering the views you'll get this error: Input error: k: Format of site key was invalid
which isn't surprising given that in the source there's this: <script type="text/javascript" src="http://www.google.com/recaptcha/api/challenge?k=#<Configatron::Store:0x7f757add7628>&error=expression"></script>
So I created my own config/initializers/recaptcha_constants.rb and now everything is working just fine!
It seems like there is a problem with the initialization order or something... but I couldn't quite figure it out.
The text was updated successfully, but these errors were encountered:
I tried to track this down...
I've added my Recaptcha keys to application_config.rb
configatron.require_captcha_on_signup = true
configatron.recaptcha_pub_key = '_...'
configatron.recaptcha_priv_key = '_...'
However, when rendering the views you'll get this error: Input error: k: Format of site key was invalid
which isn't surprising given that in the source there's this: <script type="text/javascript" src="http://www.google.com/recaptcha/api/challenge?k=#<Configatron::Store:0x7f757add7628>&error=expression"></script>
So I created my own config/initializers/recaptcha_constants.rb and now everything is working just fine!
It seems like there is a problem with the initialization order or something... but I couldn't quite figure it out.
The text was updated successfully, but these errors were encountered: