[freeside-commits] branch FREESIDE_2_3_BRANCH updated. 317d3ddb21bd6228ae91d22adcca6978edbb27d0
Ivan
ivan at 420.am
Thu Oct 24 23:25:49 PDT 2013
The branch, FREESIDE_2_3_BRANCH has been updated
via 317d3ddb21bd6228ae91d22adcca6978edbb27d0 (commit)
from 9be8cf75b8e510fb0e6489f90188d391b861b247 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 317d3ddb21bd6228ae91d22adcca6978edbb27d0
Author: Ivan Kohler <ivan at freeside.biz>
Date: Thu Oct 24 23:25:48 2013 -0700
prevent browsers from saving passwords
diff --git a/httemplate/elements/input-text.html b/httemplate/elements/input-text.html
index 8279415..18272eb 100644
--- a/httemplate/elements/input-text.html
+++ b/httemplate/elements/input-text.html
@@ -5,6 +5,7 @@
<% $size %>
<% $maxlength %>
<% $style %>
+ <% $opt{autocomplete} ? 'autocomplete="off"' : '' %>
<% $opt{disabled} %>
<% $onchange %>
><% $opt{'postfix'} %>
diff --git a/httemplate/elements/tr-password.html b/httemplate/elements/tr-password.html
index d19c4ed..8ad303c 100644
--- a/httemplate/elements/tr-password.html
+++ b/httemplate/elements/tr-password.html
@@ -1,3 +1,4 @@
<& tr-input-text.html, @_,
- 'type' => 'password',
+ 'type' => 'password',
+ 'autocomplete' => 1,
&>
-----------------------------------------------------------------------
Summary of changes:
httemplate/elements/input-text.html | 1 +
httemplate/elements/tr-password.html | 3 ++-
2 files changed, 3 insertions(+), 1 deletions(-)
More information about the freeside-commits
mailing list