diff options
author | Julius Härtl <jus@bitgrid.net> | 2021-10-12 10:50:13 +0300 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2021-10-21 14:13:01 +0300 |
commit | 763fa83e193ef40e912a6e144ef16fd62bbccea3 (patch) | |
tree | 0bb15eaf3f96c42c06ede0341384fe18f2ef56ea /lib | |
parent | bd772aea44e0bf5f6cef5e878794e8b98e8206c1 (diff) |
Use effective uid for autoprovisioning new users
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Controller/SAMLController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Controller/SAMLController.php b/lib/Controller/SAMLController.php index 02823acc..33be675f 100644 --- a/lib/Controller/SAMLController.php +++ b/lib/Controller/SAMLController.php @@ -148,8 +148,8 @@ class SAMLController extends Controller { } return; } - $uid = $this->userData->getOriginalUid(); + $uid = $this->userData->testEncodedObjectGUID($uid); if(!$userExists && !$autoProvisioningAllowed) { throw new NoUserFoundException('Auto provisioning not allowed and user ' . $uid . ' does not exist'); } elseif(!$userExists && $autoProvisioningAllowed) { |