[vhffs-dev] [1935] add autocomplete="off" on mysql and postgresql password entries

[ Thread Index | Date Index | More vhffs.org/vhffs-dev Archives ]


Revision: 1935
Author:   gradator
Date:     2012-01-24 21:19:25 +0100 (Tue, 24 Jan 2012)
Log Message:
-----------
add autocomplete="off" on mysql and postgresql password entries

Modified Paths:
--------------
    trunk/TODO
    trunk/vhffs-panel/templates/database/prefs.tt
    trunk/vhffs-panel/templates/pgsql/create.tt

Modified: trunk/TODO
===================================================================
--- trunk/TODO	2012-01-24 20:08:46 UTC (rev 1934)
+++ trunk/TODO	2012-01-24 20:19:25 UTC (rev 1935)
@@ -1,3 +0,0 @@
-own session management using VHFFS database
-
-ECML : https://developer.mozilla.org/en/How_to_Turn_Off_Form_Autocompletion

Modified: trunk/vhffs-panel/templates/database/prefs.tt
===================================================================
--- trunk/vhffs-panel/templates/database/prefs.tt	2012-01-24 20:08:46 UTC (rev 1934)
+++ trunk/vhffs-panel/templates/database/prefs.tt	2012-01-24 20:19:25 UTC (rev 1935)
@@ -10,7 +10,7 @@
     <p class="info">[% 'Warning, password change isn\'t immediate, you\'ve to check periodically to see if it\'s done' | i18n | html %]</p>
 	<p>
 		<label for="newpassword">[% 'Password for this database:' | i18n | html %]</label>
-		<input type="password" name="newpassword" id="newpassword" value=""/>
+		<input type="password" name="newpassword" id="newpassword" value="" autocomplete="off"/>
 	</p>
 	<p class="button">
         <input type="hidden" name="name" value="[% db.get_dbname | html %]"/>

Modified: trunk/vhffs-panel/templates/pgsql/create.tt
===================================================================
--- trunk/vhffs-panel/templates/pgsql/create.tt	2012-01-24 20:08:46 UTC (rev 1934)
+++ trunk/vhffs-panel/templates/pgsql/create.tt	2012-01-24 20:19:25 UTC (rev 1935)
@@ -10,7 +10,7 @@
 	</p>
 	<p>
 		<label for="db_pass">[% 'PostgreSQL password for this database:' | i18n | html %]</label>
-		<input type="password" name="db_pass" id="db_pass"/>
+		<input type="password" name="db_pass" id="db_pass" autocomplete="off"/>
 	</p>
 	<p>
 		<label for="description">[% 'Description:' | i18n | html %]</label>


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/