Add hCaptcha support (#25019)
This commit is contained in:
parent
e60414792d
commit
bec6a1cad4
12 changed files with 146 additions and 0 deletions
15
app/views/auth/confirmations/captcha.html.haml
Normal file
15
app/views/auth/confirmations/captcha.html.haml
Normal 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')
|
Loading…
Add table
Add a link
Reference in a new issue