[Pkg-owncloud-commits] [owncloud] 34/70: Hack to avoid Agent DN + Password being overwritten by some ugly browsers with stored site credentials
David Prévot
taffit at moszumanska.debian.org
Thu Aug 21 17:40:03 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to annotated tag v6.0.5RC1
in repository owncloud.
commit add4ce4319238f0cf966f993b2571663fb1e787d
Author: Arthur Schiwon <blizzz at owncloud.com>
Date: Thu Jul 10 19:33:53 2014 +0200
Hack to avoid Agent DN + Password being overwritten by some ugly browsers with stored site credentials
---
apps/user_ldap/css/settings.css | 7 ++++++-
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 490c3e9..085ac9a 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 0312c17..43da65e 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>
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list