Hack to avoid Agent DN + Password being overwritten by some ugly browsers with stored site credentials

Conflicts:
	apps/user_ldap/css/settings.css
This commit is contained in:
Arthur Schiwon 2014-07-10 19:33:53 +02:00
parent c0e78d9841
commit 7fd7706542
2 changed files with 12 additions and 0 deletions

View File

@ -127,3 +127,8 @@ select[multiple=multiple] + button {
.ldap_grey { .ldap_grey {
color: #777; color: #777;
} }
.outoftheway {
position: absolute;
left: -2000px;
}

View File

@ -1,3 +1,10 @@
<div class="outoftheway">
<!-- Hack for Safari and Chromium/Chrome which ignore autocomplete="off" -->
<input type="text" id="fake_user" name="fake_user" autocomplete="off" />
<input type="password" id="fake_password" name="fake_password"
autocomplete="off" />
</div>
<fieldset id="ldapWizard1"> <fieldset id="ldapWizard1">
<p> <p>
<select id="ldap_serverconfig_chooser" name="ldap_serverconfig_chooser"> <select id="ldap_serverconfig_chooser" name="ldap_serverconfig_chooser">