mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-18 04:31:06 +01:00
login param to egw_session::create needs domain appended, otherwise session verify will fail because of changed domain and anon user gets logged out
This commit is contained in:
parent
d49a166cf2
commit
4295d84746
@ -256,7 +256,8 @@ class egw_sharing
|
|||||||
if ($keep_session === false && $GLOBALS['egw']->sharing->use_filemanager() || is_null($keep_session))
|
if ($keep_session === false && $GLOBALS['egw']->sharing->use_filemanager() || is_null($keep_session))
|
||||||
{
|
{
|
||||||
// create session without checking auth: create(..., false, false)
|
// create session without checking auth: create(..., false, false)
|
||||||
if (!($sessionid = $GLOBALS['egw']->session->create('anonymous', '', 'text', false, false)))
|
if (!($sessionid = $GLOBALS['egw']->session->create('anonymous@'.$GLOBALS['egw_info']['user']['domain'],
|
||||||
|
'', 'text', false, false)))
|
||||||
{
|
{
|
||||||
sleep(1);
|
sleep(1);
|
||||||
$status = '500 Internal Server Error';
|
$status = '500 Internal Server Error';
|
||||||
|
Loading…
Reference in New Issue
Block a user