mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 17:18:54 +01:00
Fix more than one anonymous shares gave error / BasicAuth prompt
First one was successful, but subsequent anonymous shares in the same browser failed
This commit is contained in:
parent
e03fea2e9b
commit
159a370da6
@ -153,8 +153,8 @@ class Sharing extends \EGroupware\Api\Sharing
|
|||||||
// in Session->read_repositories() to make sure we get access to these apps when the session loads the apps.
|
// in Session->read_repositories() to make sure we get access to these apps when the session loads the apps.
|
||||||
$apps = $GLOBALS['egw']->acl->get_user_applications($share['share_owner']);
|
$apps = $GLOBALS['egw']->acl->get_user_applications($share['share_owner']);
|
||||||
$GLOBALS['egw_info']['user']['apps'] = array(
|
$GLOBALS['egw_info']['user']['apps'] = array(
|
||||||
'filemanager' => $GLOBALS['egw_info']['apps']['filemanager'] || true,
|
'filemanager' => $GLOBALS['egw_info']['apps']['filemanager'] ?? true,
|
||||||
'collabora' => $GLOBALS['egw_info']['apps']['collabora'] || $apps['collabora']
|
'collabora' => $GLOBALS['egw_info']['apps']['collabora'] ?? $apps['collabora']
|
||||||
);
|
);
|
||||||
|
|
||||||
// Need to re-init stream wrapper, as some of them look at preferences or permissions
|
// Need to re-init stream wrapper, as some of them look at preferences or permissions
|
||||||
|
Loading…
Reference in New Issue
Block a user