Comments (5)
Hi @timokleemann 👋
I'll need more info to help you debug this, for example: gem version and settings. Your installation seems fine.
By the way, the most weird thing is:
The code used to work for months and hasn't been changed for many weeks
Do you make an upgrade during this period? During the latest months mostly all changes done are maintenance and stability (https://github.com/markets/invisible_captcha/blob/master/CHANGELOG.md), with no behavior changes for a ~year.
Thanks for reporting, keep in touch.
from invisible_captcha.
Hi @markets & thanks for getting back to me so swiftly.
This is an excerpt from my Gemfile.lock
file:
invisible_captcha (1.0.1)
rails (>= 4.2)
No, as far as I know, I didn't do any upgrades pertaining to invisible_captcha
in the last couple of months. I set it up sometime last year and it worked flawlessly ever since. Until today :-(
What could be the reason for one form being hidden and the other one not being hidden?
Apart from the code above, there are no "settings" for invisible_captcha
anywhere in my code.
from invisible_captcha.
Hi @timokleemann 👋
What could be the reason for one form being hidden and the other one not being hidden?
Not sure, but if you didn't make any upgrade, this seems related to your app's code or changes on your side. Without seeing the code, it will be really hard for me to debug or give you more info. In case the repo is open source or you can create a minimal app that demonstrates the issue, I'll take a look.
I'm using the gem in several apps (Rails 5 & 6), using the invisible_captcha
helper in different views, with no problems.
from invisible_captcha.
I couldn't get invisible_captcha
to work on both forms. The CSS to hide the honeypot div was always generated for the first form but never for the second. So I simply removed invisible_captcha_styles
from the <head>
section of my layout file and created my own CSS:
[class^="title_"] {
display: none;
}
This is the best fix I could find.
from invisible_captcha.
Hi again @timokleemann 👋
Some comments:
invisible_captcha_styles
is not necessary by default, as styles are injected inline along with the honeypot- Without an example app that reproduces the error, it will be almost impossible to debug this
- If that worked for you and it started failing suddenly without updating the plugin version, this should be related to code changes in your app
I'm going to close it for now, in case you can share with us an example app that demonstrates the error, please re-open and ping me, I'll look at it asap.
from invisible_captcha.
Related Issues (20)
- Adding recaptcha to handle the chrome auto fill bug HOT 5
- Undefined method remote_ip HOT 1
- Tips when used together with Sorcery gem. HOT 1
- By using I18n.with_locale(..) in app_controller action is not called HOT 3
- IP spinner validation when forms are added with JS HOT 1
- Timestamp validation when forms are submitted with JS HOT 1
- Option with dynamic honeypot (collection of default honeypots) does not use scope HOT 1
- Submit form on multi tabs HOT 3
- Potential spam detected for IP 127.0.0.1. Invisible Captcha spinner value mismatch HOT 2
- Markup not valid when run through HTML validator HOT 6
- Each spinner should have a unique HTML ID
- `#honeypot_spam?` does not use `:scope` option if `:honeypot` option is not also set. HOT 1
- InvisibleCaptcha::ControllerExt honeypot attribute ActiveSupport::Notifications dispatches an `invisible_captcha.spam_detected` event test is failing now HOT 10
- Edge case with scope changes in 2.1.0
- It's difficult to write tests HOT 3
- [Invisible Captcha] Potential spam detected for IP 127.0.0.1. Timestamp not found in session. HOT 13
- Captcha field visible in Rails 7.1 HOT 5
- Logic bug regarding spinner-based protection HOT 4
- What is the "IP based 🔍 spinner validation"? HOT 1
- New feature: Spam-Filtering on Post requests only HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from invisible_captcha.