diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2017-09-21 18:13:20 +0300 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2017-09-21 18:13:20 +0300 |
commit | cbc0ecd91836041e213ae221402ce7393bdea5ea (patch) | |
tree | a06e73f9d8d81d9da030e328913495830484061a /lib | |
parent | 6a00897841d6921cb729e7f7d097216664763277 (diff) |
Read appname out of variable
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Controller/SAMLController.php | 6 |
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')); } |