Closed pgleeson closed 3 years ago
@pgleeson @zsinnema: could you give me steps to reproduce this issue when you have a minute please?
Go to http://localhost:10083/account/register, try to register and you'll get an error with recaptcha:
So you could check is localhost is in the hostname, and if so, don't show the recaptch, but let anyone register (for testing).
It's simpler to add "localhost" to the list of supported domains, and set up a different key for the captcha for this:
https://developers.google.com/recaptcha/docs/faq#localhost_support
There's no documentation on the plugin in use about disabling the plugin for a particular origin, so disabling it for localhost is not trivial in the redmine code.
Found an easier workaround:
There are keys mentioned there that will allow all verifications to proceed. Works well for localhost:
Site key: 6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI
Secret key: 6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe
Closing.
Great, thanks!
So that test users can be registered.
@zsinnema found this also. @sanjayankur31 will look into this