adjusts LDAP's home handler to use the correct user object
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
parent
bb9f14115c
commit
9e5994a210
|
@ -39,8 +39,9 @@ class ExtStorageConfigHandler extends UserContext implements IConfigHandler {
|
|||
*/
|
||||
public function handle($optionValue) {
|
||||
$this->placeholder = 'home';
|
||||
$user = $this->getSession()->getUser();
|
||||
if($user === null) {
|
||||
$user = $this->getUser();
|
||||
|
||||
if($user->getUID() === null) {
|
||||
return $optionValue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue