diff options
author | ivan <ivan> | 2002-02-10 16:40:21 +0000 |
---|---|---|
committer | ivan <ivan> | 2002-02-10 16:40:21 +0000 |
commit | 0b0f8fb76939a617b142595672cc15e034ab7336 (patch) | |
tree | d4d5124a3798236c082bfcf67ca308ed622ea9e6 /httemplate | |
parent | 1eb7fd4c48cadb7a6c8e45c561cd16e01279a56a (diff) |
fix "no previous account to recall hidden password from" error when
adding new
accounts & get an error on first try
Diffstat (limited to 'httemplate')
-rwxr-xr-x | httemplate/edit/svc_acct.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/edit/svc_acct.cgi b/httemplate/edit/svc_acct.cgi index 73ecdd98d..4bc81c9fd 100755 --- a/httemplate/edit/svc_acct.cgi +++ b/httemplate/edit/svc_acct.cgi @@ -72,7 +72,7 @@ my $otaker = getotaker; my $username = $svc_acct->username; my $password; if ( $svc_acct->_password ) { - if ( $conf->exists('showpasswords') ) { + if ( $conf->exists('showpasswords') || ! $svcnum ) { $password = $svc_acct->_password; } else { $password = "*HIDDEN*"; |