[Pkg-owncloud-commits] [owncloud] 06/121: 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 16:44:25 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit 3ebdb3593a37f82284671c3ce1d25551353fb75c
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
    
    Conflicts:
    	apps/user_ldap/css/settings.css
---
 apps/user_ldap/css/settings.css                 | 5 +++++
 apps/user_ldap/templates/part.wizard-server.php | 7 +++++++
 2 files changed, 12 insertions(+)

diff --git a/apps/user_ldap/css/settings.css b/apps/user_ldap/css/settings.css
index e09c377..3051cc8 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 3d4b0fe..422faad 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">

-- 
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