projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b236325
)
fix contact self-service password reset link vs. outlook, RT#32657
author
Ivan Kohler
<ivan@freeside.biz>
Sun, 18 Jan 2015 22:41:37 +0000
(14:41 -0800)
committer
Ivan Kohler
<ivan@freeside.biz>
Sun, 18 Jan 2015 22:41:37 +0000
(14:41 -0800)
fs_selfservice/FS-SelfService/cgi/selfservice.cgi
patch
|
blob
|
history
diff --git
a/fs_selfservice/FS-SelfService/cgi/selfservice.cgi
b/fs_selfservice/FS-SelfService/cgi/selfservice.cgi
index
c232c45
..
9443a7d
100755
(executable)
--- a/
fs_selfservice/FS-SelfService/cgi/selfservice.cgi
+++ b/
fs_selfservice/FS-SelfService/cgi/selfservice.cgi
@@
-1,7
+1,7
@@
#!/usr/bin/perl -w
use strict;
#!/usr/bin/perl -w
use strict;
-use vars qw($DEBUG $cgi $session_id $form_max $template_dir);
+use vars qw($DEBUG $cgi $session_id $
pw_session_id $
form_max $template_dir);
use subs qw(do_template);
use CGI;
use CGI::Carp qw(fatalsToBrowser);
use subs qw(do_template);
use CGI;
use CGI::Carp qw(fatalsToBrowser);
@@
-97,7
+97,7
@@
my $action = 'myaccount'; # sensible default
if ( $cgi->param('action') =~ /^process_forgot_password_session_(\w+)$/ ) {
$action = 'process_forgot_password_session';
if ( $cgi->param('action') =~ /^process_forgot_password_session_(\w+)$/ ) {
$action = 'process_forgot_password_session';
- $session_id = $1;
+ $
pw_
session_id = $1;
} elsif ( $cgi->param('action') =~ /^(\w+)$/ ) {
if (grep {$_ eq $1} @actions) {
$action = $1;
} elsif ( $cgi->param('action') =~ /^(\w+)$/ ) {
if (grep {$_ eq $1} @actions) {
$action = $1;
@@
-1059,7
+1059,7
@@
sub process_forgot_password {
sub process_forgot_password_session {
$action = 'process_forgot_password';
check_reset_passwd(
sub process_forgot_password_session {
$action = 'process_forgot_password';
check_reset_passwd(
- 'session_id' => $session_id,
+ 'session_id' => $
pw_
session_id,
);
}
);
}