diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2014-07-10 21:33:53 +0400 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2014-07-16 21:26:24 +0400 |
commit | add4ce4319238f0cf966f993b2571663fb1e787d (patch) | |
tree | b56d86b871fc87f7c57c598e20fb1bbc3e9bf1cc /apps/user_ldap | |
parent | d5d55412e1746364b3bc30b71c73d089dfb3dc20 (diff) |
Hack to avoid Agent DN + Password being overwritten by some ugly browsers with stored site credentials
Diffstat (limited to 'apps/user_ldap')
-rw-r--r-- | apps/user_ldap/css/settings.css | 7 | ||||
-rw-r--r-- | apps/user_ldap/templates/part.wizard-server.php | 9 |
2 files changed, 14 insertions, 2 deletions
diff --git a/apps/user_ldap/css/settings.css b/apps/user_ldap/css/settings.css index 490c3e95926..085ac9add9a 100644 --- a/apps/user_ldap/css/settings.css +++ b/apps/user_ldap/css/settings.css @@ -126,4 +126,9 @@ select[multiple=multiple] + button { .ldap_grey { color: #777; -}
\ No newline at end of file +} + +.outoftheway { + position: absolute; + left: -2000px; +} diff --git a/apps/user_ldap/templates/part.wizard-server.php b/apps/user_ldap/templates/part.wizard-server.php index 0312c17ab7b..43da65e7be4 100644 --- a/apps/user_ldap/templates/part.wizard-server.php +++ b/apps/user_ldap/templates/part.wizard-server.php @@ -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"> <p> <select id="ldap_serverconfig_chooser" name="ldap_serverconfig_chooser"> @@ -68,4 +75,4 @@ </div> </div> <?php print_unescaped($_['wizardControls']); ?> - </fieldset>
\ No newline at end of file + </fieldset> |