diff options
author | Ivan Kohler <ivan@freeside.biz> | 2018-09-13 13:02:28 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2018-09-13 13:02:28 -0700 |
commit | dfeca08f8d935d127d99de4690e2d5edf4f78b95 (patch) | |
tree | 610fb469c9ccdfffb923f1a002659c96e897bfab /httemplate/misc/process | |
parent | 833cfe5c9938d33c3e6b97ed610c25a7afa6eb04 (diff) | |
parent | 0682747829a56d487155e28675c133cb90f991de (diff) |
Merge branch 'master' of git.freeside.biz:/home/git/freeside
Diffstat (limited to 'httemplate/misc/process')
-rw-r--r-- | httemplate/misc/process/change-password.html | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/httemplate/misc/process/change-password.html b/httemplate/misc/process/change-password.html index a3e060168..37ad6d915 100644 --- a/httemplate/misc/process/change-password.html +++ b/httemplate/misc/process/change-password.html @@ -18,7 +18,7 @@ <% $cgi->redirect($fsurl.'view/svc_acct.cgi?'.$cgi->query_string) %> % } % elsif ($contactnum) { - <% $cgi->redirect($fsurl.'edit/cust_main-contacts.html?'.$cgi->param('custnum')) %> + <% $cgi->redirect($fsurl.'view/cust_main.cgi?'.$cgi->param('custnum')) %> % } % } @@ -34,6 +34,10 @@ my $curuser = $FS::CurrentUser::CurrentUser; $cgi->param('svcnum') =~ /^(\d+)$/ or die "illegal svcnum" if $cgi->param('svcnum'); my $svcnum = $1; +foreach my $prefix (grep /^(.*)(password)$/, $cgi->param) { + $cgi->param('password' => $cgi->param($prefix)); +} + $cgi->param('contactnum') =~ /^(\d+)$/ or die "illegal contactnum" if $cgi->param('contactnum'); my $contactnum = $1; |