projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
4d75191
)
fix login with an existing session cookie, RT#25533
author
Ivan Kohler
<ivan@freeside.biz>
Sun, 5 Jan 2014 09:43:48 +0000
(
01:43
-0800)
committer
Ivan Kohler
<ivan@freeside.biz>
Sun, 5 Jan 2014 09:43:48 +0000
(
01:43
-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
1372311
..
f84f5d6
100755
(executable)
--- a/
fs_selfservice/FS-SelfService/cgi/selfservice.cgi
+++ b/
fs_selfservice/FS-SelfService/cgi/selfservice.cgi
@@
-105,7
+105,7
@@
unless ( $nologin_actions{$action} ) {
my %cookies = CGI::Cookie->fetch;
- my $login_rv;
+ my $login_rv
= {}
;
if ( exists($cookies{'session'}) ) {
@@
-178,10
+178,7
@@
unless ( $nologin_actions{$action} ) {
} # else session_id ne 'login'
- } else {
- # there is no session cookie
- $login_rv = {};
- }
+ } # else there is no session cookie
if ( !$session_id ) {
# XXX why are we getting agentnum from a CGI param? surely it should