Log last error reason

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
This commit is contained in:
Lukas Reschke 2017-02-14 16:24:17 +01:00
parent c7dfbf26ec
commit c1ab62ddac
No known key found for this signature in database
GPG key ID: B9F6980CF6E759B1

View file

@ -193,6 +193,7 @@ class SAMLController extends Controller {
foreach($errors as $error) {
$this->logger->error($error, ['app' => $this->appName]);
}
$this->logger->error($auth->getLastErrorReason(), ['app' => $this->appName]);
}
if (!$auth->isAuthenticated()) {