Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/user_saml.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2019-09-19 15:07:06 +0300
committerArthur Schiwon <blizzz@arthur-schiwon.de>2019-09-19 15:07:06 +0300
commitc839dc1e73fe10c20e44c2c80347d67480c6efb1 (patch)
tree763c1dee99d6a09a4f353b4094849ba356e76d43 /lib/Controller
parent1d0a8a7f1fa9a5a9827eb1a0b105ad843e42e695 (diff)
decode objectGUID to their ASCII representation if
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'lib/Controller')
-rw-r--r--lib/Controller/SAMLController.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Controller/SAMLController.php b/lib/Controller/SAMLController.php
index e2898409..c0dffab3 100644
--- a/lib/Controller/SAMLController.php
+++ b/lib/Controller/SAMLController.php
@@ -119,6 +119,8 @@ class SAMLController extends Controller {
throw new \InvalidArgumentException('No valid uid given, please check your attribute mapping. Given uid: ' . $uid);
}
+ $uid = $this->userBackend->testEncodedObjectGUID($uid);
+
// if this server acts as a global scale master and the user is not
// a local admin of the server we just create the user and continue
// no need to update additional attributes