Added recaptcha to reset password if enabled (#2475)

This commit is contained in:
Ahmad Farhat
2021-01-26 19:44:23 -05:00
committed by GitHub
parent b8575bd512
commit 6ee92c839b
4 changed files with 60 additions and 10 deletions

View File

@ -25,6 +25,12 @@
<%= f.label :email, t("forgot_password.email"), class: "form-label" %>
<%= f.email_field :email, class: "form-control" %>
<br>
<% if recaptcha_enabled? %>
<div class="form-group">
<%= recaptcha_tags %>
</div>
<% end %>
<%= f.submit t("forgot_password.submit"), class: "btn btn-primary" %>
<% end %>