diff options
author | Christopher Burger <burgerc@freeside.biz> | 2018-09-07 10:55:19 -0400 |
---|---|---|
committer | Christopher Burger <burgerc@freeside.biz> | 2018-09-07 10:55:19 -0400 |
commit | 4e00b1e784fdb369fefd538f27c1ac465e5abc9a (patch) | |
tree | 179abf54e32b90f7b9889685bdb2649b56703403 /httemplate/edit/cust_main-contacts.html | |
parent | 0c9c9e95f2f32e7d55dd53f2903c21eb8ce7af6b (diff) |
RT# 75817 - fixed saving of password for new contacts, and password validation on dynamicly created rows
Diffstat (limited to 'httemplate/edit/cust_main-contacts.html')
-rw-r--r-- | httemplate/edit/cust_main-contacts.html | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/httemplate/edit/cust_main-contacts.html b/httemplate/edit/cust_main-contacts.html index 7c5a78209..abef7505d 100644 --- a/httemplate/edit/cust_main-contacts.html +++ b/httemplate/edit/cust_main-contacts.html @@ -60,6 +60,13 @@ this one isn't being maintained well. :/ my $curuser = $FS::CurrentUser::CurrentUser; my $conf = new FS::Conf; +if ( $cgi->param('redirect') ) { + my $session = $cgi->param('redirect'); + my $pref = $curuser->option("redirect$session"); + die "unknown redirect session $session\n" unless length($pref); + $cgi = new CGI($pref); +} + my $custnum; if ( $cgi->param('error') ) { $custnum = scalar($cgi->param('custnum')); |