Browse Source

Adds ReCaptcha v3 to all the other known sign-ins

master
Jonathan Rosenbaum 1 year ago
parent
commit
8d8978eec6
  1. 1
      app/views/application/_login.html.haml
  2. 1
      app/views/conferences/_confirm_email.html.haml
  3. 1
      app/views/registration_steps/_sign_in.html.haml

1
app/views/application/_login.html.haml

@ -6,4 +6,5 @@
= hidden_field_tag :dest, settings_path if dest.present?
= emailfield :email, nil, big: true, required: true
= button :continue, value: :confirm_email
= recaptcha_execute('login')
= link_to (_'forms.actions.generic.facebook_sign_in','Facebook Sign In'), auth_at_provider_path(provider: :facebook, dest: dest), class: [:button, :facebook]

1
app/views/conferences/_confirm_email.html.haml

@ -8,6 +8,7 @@
= email_field_tag :email, nil, required: true
= label_tag :email
= button :continue, value: :confirm_email
= recaptcha_execute('conferences_confirm')
= columns(medium: 12, class: 'flex-column') do
%p.stretch-item=_'articles.conference_registration.paragraphs.facebook_sign_in'
= link_to (_'forms.actions.generic.facebook_sign_in','Facebook Sign In'), auth_at_provider_path(:provider => :facebook), class: [:button, :facebook]

1
app/views/registration_steps/_sign_in.html.haml

@ -8,6 +8,7 @@
= email_field_tag :email, nil, required: true
= label_tag :email
= button :continue, value: :confirm_email
= recaptcha_execute('registration_sign_in')
= columns(medium: 12, class: 'flex-column') do
%p.stretch-item=_'articles.conference_registration.paragraphs.facebook_sign_in'
= link_to (_'forms.actions.generic.facebook_sign_in','Facebook Sign In'), auth_at_provider_path(:provider => :facebook), class: [:button, :facebook]

Loading…
Cancel
Save