简体   繁体   English

使用rails gem“ Recaptcha”显示旧版本的Recaptcha,而不是新版本

[英]Old version of recaptcha get displayed instead of the newer version using the rails gem “Recaptcha”

Thanks to the gem https://github.com/ambethia/recaptcha/ (version 0.3.6), I managed to integrate Google Recaptcha into my rails app. 多亏了https://github.com/ambethia/recaptcha/ (版本0.3.6),我得以将Google Recaptcha集成到我的Rails应用程序中。 The problem is that only the old version (V1) is displayed, similar to below. 问题在于,仅显示旧版本(V1),如下所示。

V1验证码

However, I would prefer to the newer version with the checkbox like below, which is much easier for the users. 但是,我希望使用带有以下复选框的较新版本,这对于用户而言要容易得多。 Any idea how to get there? 知道如何到达那里吗?

v1验证码

There is some discussion about this, see: https://github.com/ambethia/recaptcha/issues/112 关于此有一些讨论,请参见: https : //github.com/ambethia/recaptcha/issues/112

You are free to implement the new API by yourself it's not that hard actually, and if you have the knowledge submit a pull request to the original repository with a working solution :-) 您可以自由地自行实现新的API,实际上并不难,如果您有足够的知识,可以使用可行的解决方案向原始存储库提交请求请求:-)

The instructions on how to implement reCaptcha can be found here: http://www.google.com/recaptcha/intro/index.html 有关如何实施reCaptcha的说明,请参见以下网址http : //www.google.com/recaptcha/intro/index.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM