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
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2022-05-09 14:16:43 +0300
committerCarl Schwan <carl@carlschwan.eu>2022-05-09 14:16:43 +0300
commit06b6f33159703fa5ce3cad5b3fd94dc0ed2881be (patch)
tree699934b3ce4cb0bf0c87edc369279d6d23de05ca
parentfbb0d9f6cd04e9c459c0d98acdc89e4c75922f65 (diff)
Stricter check for direct=1 loginfix/check-direct
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
-rw-r--r--appinfo/app.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/appinfo/app.php b/appinfo/app.php
index 35bf029d..2d9122a9 100644
--- a/appinfo/app.php
+++ b/appinfo/app.php
@@ -125,7 +125,7 @@ if (!$cli &&
} catch (\LogicException $e) {
// ignore exception when PUT is called since getParams cannot parse parameters in that case
}
- if (isset($params['direct'])) {
+ if (isset($params['direct']) && ($params['direct'] === 1 || $params['direct'] === '1')) {
return;
}
$redirectSituation = true;