Change captcha to be presented even for invited users (#2227)
parent
69903b5830
commit
646cde71d1
|
@ -57,9 +57,6 @@ class Auth::ConfirmationsController < Devise::ConfirmationsController
|
||||||
|
|
||||||
def captcha_user_bypass?
|
def captcha_user_bypass?
|
||||||
return true if @confirmation_user.nil? || @confirmation_user.confirmed?
|
return true if @confirmation_user.nil? || @confirmation_user.confirmed?
|
||||||
|
|
||||||
invite = Invite.find(@confirmation_user.invite_id) if @confirmation_user.invite_id.present?
|
|
||||||
invite.present? && !invite.max_uses.nil?
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def set_pack
|
def set_pack
|
||||||
|
|
|
@ -6,7 +6,7 @@ en:
|
||||||
batch_error: 'An error occurred: %{message}'
|
batch_error: 'An error occurred: %{message}'
|
||||||
settings:
|
settings:
|
||||||
captcha_enabled:
|
captcha_enabled:
|
||||||
desc_html: This relies on external scripts from hCaptcha, which may be a security and privacy concern. In addition, <strong>this can make the registration process significantly less accessible to some (especially disabled) people</strong>. For these reasons, please consider alternative measures such as approval-based or invite-based registration.<br>Users that have been invited through a limited-use invite will not need to solve a CAPTCHA
|
desc_html: This relies on external scripts from hCaptcha, which may be a security and privacy concern. In addition, <strong>this can make the registration process significantly less accessible to some (especially disabled) people</strong>. For these reasons, please consider alternative measures such as approval-based or invite-based registration.
|
||||||
title: Require new users to solve a CAPTCHA to confirm their account
|
title: Require new users to solve a CAPTCHA to confirm their account
|
||||||
flavour_and_skin:
|
flavour_and_skin:
|
||||||
title: Flavour and skin
|
title: Flavour and skin
|
||||||
|
|
Loading…
Reference in New Issue