diff --git a/app/views/ldap_auth_sources/_form.html.erb b/app/views/ldap_auth_sources/_form.html.erb index d31ecd2ac2..830fdd051c 100644 --- a/app/views/ldap_auth_sources/_form.html.erb +++ b/app/views/ldap_auth_sources/_form.html.erb @@ -76,10 +76,13 @@ See docs/COPYRIGHT.rdoc for more details.
<%= t(:label_details) %>
<%= f.text_field 'account', container_class: '-middle' %>
-
<%= f.password_field 'account_password', - label: AuthSource.human_attribute_name(:password), - placeholder: ((@auth_source.new_record? || @auth_source.account_password.blank?) ? '' : ('●'*15)), - container_class: '-middle' %>
+
+ <%= f.password_field 'account_password', + label: AuthSource.human_attribute_name(:password), + placeholder: ((@auth_source.new_record? || @auth_source.account_password.blank?) ? '' : ('●'*15)), + autocomplete: 'off', + container_class: '-middle' %> +
<%= f.text_field 'base_dn', size: 60, container_class: '-wide' %>
<%= f.check_box 'onthefly_register', label: AuthSource.human_attribute_name(:onthefly) %>