[freeside-commits] branch FREESIDE_3_BRANCH updated. 4b90fe87e2510d424917c69605654d9c61c360c2

Ivan ivan at 420.am
Thu Oct 24 23:25:48 PDT 2013


The branch, FREESIDE_3_BRANCH has been updated
       via  4b90fe87e2510d424917c69605654d9c61c360c2 (commit)
      from  c8247c2214b7246a2be5796ba971ed09d7370228 (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 4b90fe87e2510d424917c69605654d9c61c360c2
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Thu Oct 24 23:25:47 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