X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fsvc_acct.cgi;h=44a2aa611b275ae614c3ca4c4795d85490879235;hb=ae257597c5b7f8c3f5cce2f0fd8a062eda226f4c;hp=6a47ec76706d4299d34b224d4d8701261d7e11f3;hpb=ba176b6005c1c09cfd00c57befe72ba9561b77f8;p=freeside.git diff --git a/httemplate/view/svc_acct.cgi b/httemplate/view/svc_acct.cgi index 6a47ec767..44a2aa611 100755 --- a/httemplate/view/svc_acct.cgi +++ b/httemplate/view/svc_acct.cgi @@ -160,14 +160,19 @@ Service #<% $svcnum %> Password -% my $password = $svc_acct->_password; +% my $password = $svc_acct->get_cleartext_password; % if ( $password =~ /^\*\w+\* (.*)$/ ) { % $password = $1; % (login disabled) % } -% if ( $conf->exists('showpasswords') ) { +% if ( !$password and +% $svc_acct->_password_encryption ne 'plain' and +% $svc_acct->_password ) { + (<% uc($svc_acct->_password_encryption) %> encrypted) +% } +% elsif ( $conf->exists('showpasswords') ) {
<% encode_entities($password) %>
% } else {