summaryrefslogtreecommitdiff
path: root/httemplate/edit
diff options
context:
space:
mode:
authorivan <ivan>2002-04-06 00:08:08 +0000
committerivan <ivan>2002-04-06 00:08:08 +0000
commit195652229909566ccb3a6ae249d8fa26f25da55a (patch)
treeecc6675f83425e7a0b279bfe3aa4f510990f303f /httemplate/edit
parent87af741da0dd5f6a76bbb566b4d6c54cd5b15315 (diff)
security phrase bug fixes
Diffstat (limited to 'httemplate/edit')
-rwxr-xr-xhttemplate/edit/svc_acct.cgi3
1 files changed, 3 insertions, 0 deletions
diff --git a/httemplate/edit/svc_acct.cgi b/httemplate/edit/svc_acct.cgi
index 540d04c38..eca0a31cf 100755
--- a/httemplate/edit/svc_acct.cgi
+++ b/httemplate/edit/svc_acct.cgi
@@ -122,6 +122,7 @@ print &ntable("#cccccc",2), <<END;
</TR>
END
+my $sec_phrase = $svc_acct->sec_phrase;
if ( $conf->exists('security_phrase') ) {
print <<END;
<TR><TD ALIGN="right">Security phrase</TD>
@@ -129,6 +130,8 @@ if ( $conf->exists('security_phrase') ) {
(for forgotten passwords)</TD>
</TD>
END
+} else {
+ print qq!<INPUT TYPE="hidden" NAME="sec_phrase" VALUE="$sec_phrase">!;
}
#domain