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:
0b25e10
)
fix login with an existing session cookie, RT#25533
author
Ivan Kohler
<ivan@freeside.biz>
Wed, 12 Feb 2014 19:58:52 +0000
(11:58 -0800)
committer
Ivan Kohler
<ivan@freeside.biz>
Wed, 12 Feb 2014 19:58:52 +0000
(11:58 -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
f84f5d6
..
84998bb
100755
(executable)
--- a/
fs_selfservice/FS-SelfService/cgi/selfservice.cgi
+++ b/
fs_selfservice/FS-SelfService/cgi/selfservice.cgi
@@
-101,6
+101,8
@@
if ( $cgi->param('action') =~ /^(\w+)$/ ) {
}
}
+warn $action;
+
unless ( $nologin_actions{$action} ) {
my %cookies = CGI::Cookie->fetch;
@@
-1062,7
+1064,7
@@
sub do_template {
my $timeout = $access_info->{'timeout'} || '60';
my $cookie = CGI::Cookie->new('-name' => 'session',
'-value' => $session_id,
- '-expires' => '+'.$timeout,
+ '-expires' => '+'.$timeout
.'s'
,
#'-secure' => 1, # would be a good idea...
);
if ( $name eq 'logout' ) {