From b4d7dc9ec38daec3ee96d32287f701ed719b5eba Mon Sep 17 00:00:00 2001 From: Christopher Burger Date: Tue, 20 Jun 2017 09:04:14 -0400 Subject: RT# 75817 - Added the ability to set contacts password on the backend --- httemplate/elements/contact.html | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'httemplate/elements/contact.html') diff --git a/httemplate/elements/contact.html b/httemplate/elements/contact.html index b0a7caca1..8936569ce 100644 --- a/httemplate/elements/contact.html +++ b/httemplate/elements/contact.html @@ -84,6 +84,22 @@
<% $label{$field} %> +% } +% my $pwd_change_label = 'change password'; +% $pwd_change_label = 'setup password' unless $contact->_password; +% if ($curr_value) { + + + <& /elements/change_password.html, + 'contact_num' => $curr_value, + 'custnum' => $opt{'custnum'}, + 'curr_value' => '', + 'label' => $pwd_change_label, + &> + +
+ Password + % } -- cgit v1.2.1