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
path: root/lib
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2017-09-21 18:13:20 +0300
committerLukas Reschke <lukas@statuscode.ch>2017-09-21 18:13:20 +0300
commitcbc0ecd91836041e213ae221402ce7393bdea5ea (patch)
treea06e73f9d8d81d9da030e328913495830484061a /lib
parent6a00897841d6921cb729e7f7d097216664763277 (diff)
Read appname out of variable
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'lib')
-rw-r--r--lib/Controller/SAMLController.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Controller/SAMLController.php b/lib/Controller/SAMLController.php
index 2f7d108c..edb1f243 100644
--- a/lib/Controller/SAMLController.php
+++ b/lib/Controller/SAMLController.php
@@ -208,7 +208,7 @@ class SAMLController extends Controller {
}
if (!$auth->isAuthenticated()) {
- $this->logger->info('Auth failed');
+ $this->logger->info('Auth failed', ['app' => $this->appName]);
return new Http\RedirectResponse($this->urlGenerator->linkToRouteAbsolute('user_saml.SAML.notProvisioned'));
}
@@ -217,7 +217,7 @@ class SAMLController extends Controller {
try {
$this->autoprovisionIfPossible($auth->getAttributes());
} catch (NoUserFoundException $e) {
- $this->logger->info('User not found');
+ $this->logger->info('User not found', ['app' => $this->appName]);
return new Http\RedirectResponse($this->urlGenerator->linkToRouteAbsolute('user_saml.SAML.notProvisioned'));
}
@@ -232,7 +232,7 @@ class SAMLController extends Controller {
}
$user->updateLastLoginTimestamp();
} catch (\Exception $e) {
- $this->logger->logException($e, ['app' => 'user_saml']);
+ $this->logger->logException($e, ['app' => $this->appName]);
return new Http\RedirectResponse($this->urlGenerator->linkToRouteAbsolute('user_saml.SAML.notProvisioned'));
}