aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2014-07-10 19:33:53 +0200
committerArthur Schiwon <blizzz@owncloud.com>2014-08-05 12:14:29 +0200
commit7fd770654246e5ca481df65b9f00ef448ac280f0 (patch)
tree64d8ad3a8aeb3a3cb7daf80912388dccfa03cb58 /apps
parentc0e78d984140ecd6a49ac615214b4a68fab0557e (diff)
downloadnextcloud-server-7fd770654246e5ca481df65b9f00ef448ac280f0.tar.gz
nextcloud-server-7fd770654246e5ca481df65b9f00ef448ac280f0.zip
Hack to avoid Agent DN + Password being overwritten by some ugly browsers with stored site credentials
Conflicts: apps/user_ldap/css/settings.css
Diffstat (limited to 'apps')
-rw-r--r--apps/user_ldap/css/settings.css5
-rw-r--r--apps/user_ldap/templates/part.wizard-server.php7
2 files changed, 12 insertions, 0 deletions
diff --git a/apps/user_ldap/css/settings.css b/apps/user_ldap/css/settings.css
index e09c377a907..3051cc8058e 100644
--- a/apps/user_ldap/css/settings.css
+++ b/apps/user_ldap/css/settings.css
@@ -127,3 +127,8 @@ select[multiple=multiple] + button {
.ldap_grey {
color: #777;
}
+
+.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 3d4b0feead9..422faad028b 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">