Enable strict mode

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
This commit is contained in:
Lukas Reschke 2017-01-12 22:15:19 +01:00
parent bcf5f87130
commit 28bb7c673d
No known key found for this signature in database
GPG key ID: B9F6980CF6E759B1

View file

@ -43,8 +43,7 @@ class SAMLSettings {
public function getOneLoginSettingsArray() {
$settings = [
// 'debug' => true,
// 'strict' => true,
'strict' => true,
'security' => [
'nameIdEncrypted' => ($this->config->getAppValue('user_saml', 'security-nameIdEncrypted', '0') === '1') ? true : false,
'authnRequestsSigned' => ($this->config->getAppValue('user_saml', 'security-authnRequestsSigned', '0') === '1') ? true : false,