Revision a8780020
Von Sven Schöling vor mehr als 3 Jahren hinzugefügt
SL/Dispatcher.pm | ||
---|---|---|
95 | 95 |
my $session_result = $::auth->restore_session; |
96 | 96 |
$::auth->create_or_refresh_session; |
97 | 97 |
|
98 |
$::request->cgi->add_cookie( |
|
99 |
$::auth->get_session_cookie_name, |
|
100 |
$::auth->get_session_id, |
|
101 |
path => $::request->request_base_uri->path, |
|
102 |
secure => $::request->is_https, |
|
103 |
expires => '+' . $::auth->{session_timeout} . 'm', |
|
104 |
); |
|
105 |
|
|
98 | 106 |
if ($params{client}) { |
99 | 107 |
$::auth->set_client($params{client}) || die("cannot find client " . $params{client}); |
100 | 108 |
|
Auch abrufbar als: Unified diff
Cookiehandling in pre_request_initializaton verschoben
Vorher wurden Cookis nur bei normalen 200 Responses gesetzt, nicht aber
bei redirects. Das ist jetzt behoben, und damit auch der berüchtigte
Doppellogin Bug.