]> source.dussan.org Git - nextcloud-server.git/commitdiff
Hack to avoid Agent DN + Password being overwritten by some ugly browsers with stored...
authorArthur Schiwon <blizzz@owncloud.com>
Thu, 10 Jul 2014 17:33:53 +0000 (19:33 +0200)
committerArthur Schiwon <blizzz@owncloud.com>
Tue, 5 Aug 2014 10:17:36 +0000 (12:17 +0200)
Conflicts:
apps/user_ldap/css/settings.css

apps/user_ldap/css/settings.css
apps/user_ldap/templates/part.wizard-server.php

index e09c377a907f603ce8e1a8c1d270cef0e3bb80ff..3051cc8058e1e8c5576b4777e7ac198c25cbd52a 100644 (file)
@@ -127,3 +127,8 @@ select[multiple=multiple] + button {
 .ldap_grey {
        color: #777;
 }
+
+.outoftheway {
+       position: absolute;
+       left: -2000px;
+}
index 3d4b0feead964fd05a31945eb514064ed281d2e1..422faad028b0679b401e76439603c85ac35d4983 100644 (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">
                <p>
                <select id="ldap_serverconfig_chooser" name="ldap_serverconfig_chooser">