Commit 1a90c4a0 authored by Kushal Pandya's avatar Kushal Pandya

Merge branch 'jejacks0n/provide-autocomplete-for-invisible-captcha' into 'master'

Use random string instead of "off" with autocomplete for invisible captcha

See merge request gitlab-org/gitlab!63244
parents 1d9d4703 19823c3f
......@@ -9,7 +9,7 @@
.devise-errors
= render 'devise/shared/error_messages', resource: resource
- if Gitlab::CurrentSettings.invisible_captcha_enabled
= invisible_captcha nonce: true
= invisible_captcha nonce: true, autocomplete: SecureRandom.alphanumeric(12)
.name.form-row
.col.form-group
= f.label :first_name, _('First name'), for: 'new_user_first_name', class: 'label-bold'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment