X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fsvc_acct.cgi;h=44a2aa611b275ae614c3ca4c4795d85490879235;hb=03ceab71dad1e5eb366865d304e5e459cc905ce4;hp=e87a8ee9a831c751a637fddc3c7497ef9f0fc0cd;hpb=fb548ac8da2cc0b87b7b3dcd7172097d930c6f4a;p=freeside.git diff --git a/httemplate/view/svc_acct.cgi b/httemplate/view/svc_acct.cgi index e87a8ee9a..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 { @@ -214,7 +219,7 @@ Service #<% $svcnum %> % if ($svc_acct->finger ne '') { - GECOS + Real Name <% $svc_acct->finger %> % }