projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
NG auth: pw changes, RT#21563
[freeside.git]
/
httemplate
/
pref
/
pref.html
diff --git
a/httemplate/pref/pref.html
b/httemplate/pref/pref.html
index
9861c3f
..
dc44db0
100644
(file)
--- a/
httemplate/pref/pref.html
+++ b/
httemplate/pref/pref.html
@@
-4,28
+4,30
@@
<% include('/elements/error.html') %>
<% include('/elements/error.html') %>
+% if ( FS::Auth->auth_class->can('change_password') ) {
-<% mt('Change password (leave blank for no change)') |h %>
-<% ntable("#cccccc",2) %>
+
<% mt('Change password (leave blank for no change)') |h %>
+
<% ntable("#cccccc",2) %>
- <TR>
- <TH ALIGN="right">Current password: </TH>
- <TD><INPUT TYPE="password" NAME="_password"></TD>
- </TR>
+
<TR>
+
<TH ALIGN="right">Current password: </TH>
+
<TD><INPUT TYPE="password" NAME="_password"></TD>
+
</TR>
- <TR>
- <TH ALIGN="right">New password: </TH>
- <TD><INPUT TYPE="password" NAME="new_password"></TD>
- </TR>
+
<TR>
+
<TH ALIGN="right">New password: </TH>
+
<TD><INPUT TYPE="password" NAME="new_password"></TD>
+
</TR>
- <TR>
- <TH ALIGN="right">Re-enter new password: </TH>
- <TD><INPUT TYPE="password" NAME="new_password2"></TD>
- </TR>
+
<TR>
+
<TH ALIGN="right">Re-enter new password: </TH>
+
<TD><INPUT TYPE="password" NAME="new_password2"></TD>
+
</TR>
-</TABLE>
-<BR>
+
</TABLE>
+
<BR>
+% }
Interface
<% ntable("#cccccc",2) %>
Interface
<% ntable("#cccccc",2) %>