diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2017-01-19 02:29:30 +0300 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2017-01-19 03:46:26 +0300 |
commit | dd4ebe6e3d1da22b3416018fd40c85b6c3195e18 (patch) | |
tree | 514cca48acab3ddaf2eca9995617304d4e3f2076 /appinfo | |
parent | ea2a881e4c9fecd9b2256109a115c59a7ea7d453 (diff) |
Add integration test for Environment Variable
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'appinfo')
-rw-r--r-- | appinfo/app.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/appinfo/app.php b/appinfo/app.php index 385dfb48..7c5dd7b6 100644 --- a/appinfo/app.php +++ b/appinfo/app.php @@ -61,7 +61,6 @@ switch($config->getAppValue('user_saml', 'type')) { $type = 'saml'; break; case 'environment-variable': - \OC::$server->getSession()->set('user_saml.samlUserData', $_SERVER); $type = 'environment-variable'; break; } @@ -76,7 +75,7 @@ $redirectSituation = false; if(!$cli && !$userSession->isLoggedIn() && \OC::$server->getRequest()->getPathInfo() === '/login' && - $type === 'saml') { + $type !== '') { $redirectSituation = true; } |