diff options
author | Claire <claire.github-309c@sitedethib.com> | 2022-01-25 23:56:57 +0100 |
---|---|---|
committer | Claire <claire.github-309c@sitedethib.com> | 2022-01-25 23:56:57 +0100 |
commit | b7cf3941b3783220e6b3bc9a6d3975ceecdc64cb (patch) | |
tree | 3b4b0bcfff51232ec9dd0d05a9a053194877ffa7 /app/views/auth | |
parent | 0fb907441c827cadc767641b29d5d2c0e554f7a4 (diff) |
Change CAPTCHA handling to be only on email verification
This simplifies the implementation considerably, and while not providing ideal UX, it's the most flexible approach.
Diffstat (limited to 'app/views/auth')
-rw-r--r-- | app/views/auth/confirmations/captcha.html.haml | 2 | ||||
-rw-r--r-- | app/views/auth/registrations/new.html.haml | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/app/views/auth/confirmations/captcha.html.haml b/app/views/auth/confirmations/captcha.html.haml index 850bc1479..0f7cf9c59 100644 --- a/app/views/auth/confirmations/captcha.html.haml +++ b/app/views/auth/confirmations/captcha.html.haml @@ -5,7 +5,7 @@ = hidden_field_tag :confirmation_token, params[:confirmation_token] .field-group - = render_captcha_if_needed + = render_captcha .actions %button.button= t('challenge.continue') diff --git a/app/views/auth/registrations/new.html.haml b/app/views/auth/registrations/new.html.haml index 5cb558297..6981195ed 100644 --- a/app/views/auth/registrations/new.html.haml +++ b/app/views/auth/registrations/new.html.haml @@ -38,9 +38,6 @@ .fields-group = f.input :agreement, as: :boolean, wrapper: :with_label, label: whitelist_mode? ? t('auth.checkbox_agreement_without_rules_html', terms_path: terms_path) : t('auth.checkbox_agreement_html', rules_path: about_more_path, terms_path: terms_path), required: true - .field-group - = render_captcha_if_needed - .actions = f.button :button, @invite.present? ? t('auth.register') : sign_up_message, type: :submit |