summaryrefslogtreecommitdiff
path: root/app/views/devise/passwords/new.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/devise/passwords/new.html.haml')
-rw-r--r--app/views/devise/passwords/new.html.haml7
1 files changed, 6 insertions, 1 deletions
diff --git a/app/views/devise/passwords/new.html.haml b/app/views/devise/passwords/new.html.haml
index 7f6ce712af2..7bbde4a39c7 100644
--- a/app/views/devise/passwords/new.html.haml
+++ b/app/views/devise/passwords/new.html.haml
@@ -8,7 +8,12 @@
= f.email_field :email, class: "form-control gl-form-input", required: true, value: params[:user_email], autofocus: true, title: _('Please provide a valid email address.')
.form-text.text-muted
= _('Requires your primary GitLab email address.')
- .clearfix
+
+ %div
+ - if recaptcha_enabled?
+ = recaptcha_tags nonce: content_security_policy_nonce
+
+ .gl-mt-5
= f.submit _("Reset password"), class: "gl-button btn-confirm btn"
.clearfix.prepend-top-20