mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-24 08:53:37 +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
1d8f6c7546
commit
4658441bb2
@ -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.
|
||||
$apps = $GLOBALS['egw']->acl->get_user_applications($share['share_owner']);
|
||||
$GLOBALS['egw_info']['user']['apps'] = array(
|
||||
'filemanager' => $GLOBALS['egw_info']['apps']['filemanager'] || true,
|
||||
'collabora' => $GLOBALS['egw_info']['apps']['collabora'] || $apps['collabora']
|
||||
'filemanager' => $GLOBALS['egw_info']['apps']['filemanager'] ?? true,
|
||||
'collabora' => $GLOBALS['egw_info']['apps']['collabora'] ?? $apps['collabora']
|
||||
);
|
||||
|
||||
// Need to re-init stream wrapper, as some of them look at preferences or permissions
|
||||
|
Loading…
Reference in New Issue
Block a user