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>2021-01-26 16:38:51 +0300
committerArthur Schiwon <blizzz@arthur-schiwon.de>2021-01-26 21:03:03 +0300
commitb13a9983e248ebf4a66e56205be3565e9f650119 (patch)
treef11e2038843a282e9f7a2211f57405b11ab75387 /lib/Controller
parentc06679fa74a86cacd35e52b09c54131ff7943ad3 (diff)
adjust to recent merged changes
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'lib/Controller')
-rw-r--r--lib/Controller/SAMLController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Controller/SAMLController.php b/lib/Controller/SAMLController.php
index f0c13b0f..3f340079 100644
--- a/lib/Controller/SAMLController.php
+++ b/lib/Controller/SAMLController.php
@@ -354,7 +354,7 @@ class SAMLController extends Controller {
$this->userBackend->initializeHomeDir($user->getUID());
}
} catch (NoUserFoundException $e) {
- throw new \InvalidArgumentException('User is not valid');
+ throw new \InvalidArgumentException('User "' . $this->userBackend->getCurrentUserId() . '" is not valid');
} catch (\Exception $e) {
$this->logger->logException($e, ['app' => $this->appName]);
$response = new Http\RedirectResponse($this->urlGenerator->linkToRouteAbsolute('user_saml.SAML.notProvisioned'));