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
d577076457
commit
a2c5ab2f8b
|
@ -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