RT# 75817 - V3 fix for redirect
authorChristopher Burger <burgerc@freeside.biz>
Wed, 26 Sep 2018 13:33:36 +0000 (09:33 -0400)
committerChristopher Burger <burgerc@freeside.biz>
Wed, 26 Sep 2018 13:33:36 +0000 (09:33 -0400)
httemplate/misc/process/change-password.html

index 1c746a4..61a1a5e 100644 (file)
 %   if ($svcnum) { 
         <% $cgi->redirect($fsurl.'view/svc_acct.cgi?'.$cgi->query_string) %>
 %   }
-%   elsif ($contactnum) { 
-%     my $freeside_status = "Contact ".$contact->{'Hash'}->{'first'}." ".$contact->{'Hash'}->{'last'}." password updated.";
-        <% $cgi->redirect( -uri    => popurl(3). "view/cust_main.cgi?". $cgi->param('custnum'),
-                   -cookie => CGI::Cookie->new(
-                     -name    => 'freeside_status',
-                     -value   => mt($freeside_status),
-                     -expires => '+5m',
-                   ),
-   )
-%>
+%   elsif ($contactnum) {
+      <% $cgi->redirect($fsurl.'view/cust_main.cgi?'.$cgi->param('custnum')) %>
 %   }
 % }