[freeside-commits] branch master updated. 7b20719d5f7269adfebf55975766cd6eca4a7dd5
Ivan
ivan at 420.am
Thu Oct 24 23:25:47 PDT 2013
The branch, master has been updated
via 7b20719d5f7269adfebf55975766cd6eca4a7dd5 (commit)
from a6d62e3bc88e63d71fc972303210aec5464b2219 (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 7b20719d5f7269adfebf55975766cd6eca4a7dd5
Author: Ivan Kohler <ivan at freeside.biz>
Date: Thu Oct 24 23:25:46 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