Add hCaptcha support (#25019)

This commit is contained in:
Claire
2023-05-16 23:27:35 +02:00
committed by GitHub
parent e60414792d
commit bec6a1cad4
12 changed files with 146 additions and 0 deletions

View File

@ -0,0 +1,15 @@
- content_for :page_title do
= t('auth.captcha_confirmation.title')
= form_tag auth_captcha_confirmation_url, method: 'POST', class: 'simple_form' do
= render 'auth/shared/progress', stage: 'confirm'
= hidden_field_tag :confirmation_token, params[:confirmation_token]
%p.lead= t('auth.captcha_confirmation.hint_html')
.field-group
= render_captcha
.actions
%button.button= t('challenge.confirm')