Commit 19823c3f authored by jejacks0n's avatar jejacks0n

Use a random string for the autofill attribute

parent 47dd2785
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
.devise-errors .devise-errors
= render 'devise/shared/error_messages', resource: resource = render 'devise/shared/error_messages', resource: resource
- if Gitlab::CurrentSettings.invisible_captcha_enabled - if Gitlab::CurrentSettings.invisible_captcha_enabled
= invisible_captcha nonce: true, autocomplete: 'new-password' = invisible_captcha nonce: true, autocomplete: SecureRandom.alphanumeric(12)
.name.form-row .name.form-row
.col.form-group .col.form-group
= f.label :first_name, _('First name'), for: 'new_user_first_name', class: 'label-bold' = 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