Skip to content

Commit 8edf861

Browse files
committed
Disable invisible captcha
1 parent 6c8b291 commit 8edf861

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

app/controllers/users/passwords_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
module Users
44
class PasswordsController < Devise::PasswordsController
5-
invisible_captcha only: [:create], honeypot: :nickname
5+
# invisible_captcha only: [:create], honeypot: :nickname
66
end
77
end

app/controllers/users/sessions_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
module Users
44
class SessionsController < Devise::SessionsController
5-
invisible_captcha only: [:create], honeypot: :nickname
5+
# invisible_captcha only: [:create], honeypot: :nickname
66
end
77
end

app/views/devise/passwords/new.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<%= simple_form_for(resource, as: resource_name,
1010
url: password_path(resource_name)) do |f| %>
11-
<%= f.invisible_captcha :nickname %>
11+
<%#= f.invisible_captcha :nickname %>
1212
<%= f.input :email, placeholder: 'Enter email address', label: 'Email',
1313
input_html: { class: 'input-bordered w-full', autocomplete: 'email',
1414
autofocus: true } %>

app/views/devise/registrations/new.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
url: registration_path(resource_name),
1111
html: { data: { controller: "bot-detection", bot_detection_target: "form" } }) do |f| %>
1212

13-
<%= f.invisible_captcha :nickname %>
13+
<%#= f.invisible_captcha :nickname %>
1414

1515
<%= f.input :email, placeholder: 'Enter email address', label: 'Email',
1616
input_html: { class: 'input-bordered w-full', autocomplete: 'email' } %>

app/views/devise/sessions/new.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<h2 class="card-title">Sign In</h2>
88
<%= simple_form_for(resource, as: resource_name,
99
url: session_path(resource_name)) do |f| %>
10-
<%= f.invisible_captcha :nickname %>
10+
<%#= f.invisible_captcha :nickname %>
1111
<%= f.input :email, placeholder: 'Enter email address', label: 'Email',
1212
input_html: { class: 'input-bordered w-full', autofocus: true, autocomplete: 'email' } %>
1313

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
vIwhv6fVsE/Z8LmZ/FZpdUBnB9T9Af9ly+CQhV72EwLKgEmkVHAOAL5+paNp+LxxmbN/V+GKBYREUhY4fsEEhxKS78n24hF3Zt0VzJFeZZDwbH1TPKxdRZQHoFUh6gFjndEKm2gf8GwkQX9Jlc71/RJGf8qVj1MWv+yBcJEFC9H5aZUHeVElm+OVR66R1lWFKM82kIoTXHpvgHTdmqo3/anNmBVqn7GoiBc=--xbyUBbPPdtUvJNGf--/DV9Zl+7nTZ8Dc6lhwiw5g==
1+
q9bl3jfrG76+7vo3nHI8EqbdppD/vpc1MOigG1lyr7Y6nrUrRQEIkQG65P9tUud812CcBerR7qffbgTMt6ksobTUkrxTHVcakNsXGGj/+T7rspJpBYtm14XdtmMPt+UvSqxlZ+yghfHr5zNlbXmRe553E9SQNeVfvtS2idFNFmWmlRL9orEdazH45MuW1OKiYNGM4ummctxshDV7qOjXjAHyUKe8OxjeV4H4--QbpqfdPNGUfin/ja--cWpZjEUjKooVtF5W39mn6Q==

0 commit comments

Comments
 (0)