mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-24 14:58:43 +01:00
* LDAP/AD/OpenID Connect: fix error creating tokens with profile claim, if user has a picture
This commit is contained in:
parent
c59b5a7a6e
commit
0f376ae6df
@ -59,6 +59,12 @@ trait UserContextTrait
|
|||||||
$this->check_set_context($url_or_context);
|
$this->check_set_context($url_or_context);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// if we have no user set, set the current one / Api\Vfs::$user
|
||||||
|
if (empty(stream_context_get_options($this->context)[Vfs::SCHEME]['user']) && !empty(Api\Vfs::$user))
|
||||||
|
{
|
||||||
|
stream_context_set_option($this->context, [Vfs::SCHEME => ['user' => Api\Vfs::$user]]);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user