freeside/fs_selfservice/FS-SelfService/cgi agent.cgi,1.1,1.2
ivan
ivan at pouncequick.420.am
Mon Jun 21 03:58:52 PDT 2004
Update of /home/cvs/cvsroot/freeside/fs_selfservice/FS-SelfService/cgi
In directory pouncequick:/tmp/cvs-serv18389
Modified Files:
agent.cgi
Log Message:
check password match on agent add'l package order
Index: agent.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/fs_selfservice/FS-SelfService/cgi/agent.cgi,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- agent.cgi 10 Jun 2004 12:31:31 -0000 1.1
+++ agent.cgi 21 Jun 2004 10:58:50 -0000 1.2
@@ -208,6 +208,13 @@
sub process_order_pkg {
+ if ( $cgi->param('_password') ne $cgi->param('_password2') ) {
+ my $init_data = signup_info( 'session_id' => $session_id );
+ $error = $init_data->{msgcat}{passwords_dont_match}; #msgcat
+ $cgi->param('_password', '');
+ $cgi->param('_password2', '');
+ }
+
my $results = order_pkg (
'agent_session_id' => $session_id,
map { $_ => $cgi->param($_) }
More information about the freeside-commits
mailing list