From d685af9af2d650bf3132b264a2ae5368ebf5ebbe Mon Sep 17 00:00:00 2001 From: ahaenggli Date: Fri, 1 Oct 2021 08:29:34 +0200 Subject: [PATCH] fix #271 (#272) * fix #257 and add optional domain handling * format code and add to doc * fix #271 --- backend/Services/Auth/Adapters/LDAP.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/Services/Auth/Adapters/LDAP.php b/backend/Services/Auth/Adapters/LDAP.php index 96dfa96..e5d8bab 100644 --- a/backend/Services/Auth/Adapters/LDAP.php +++ b/backend/Services/Auth/Adapters/LDAP.php @@ -212,7 +212,7 @@ class LDAP implements Service, AuthInterface // private repositories for each user? if ($this->private_repos) { - $user->setHomedir('/'.$user['username']); + $user['homedir'] = '/'.$user['username']; } // ...but not for admins