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-12 18:07:06 +0300
committerGitHub <noreply@github.com>2022-05-12 18:07:06 +0300
commit957c51067b2fba6687e6d2f8efb438e286d710a9 (patch)
treef3dc7e044781a11ec2f241e24814bfa702f7d509
parent144cf7ff7156b8dda6366a405f446fa9328cb7b5 (diff)
parent06b6f33159703fa5ce3cad5b3fd94dc0ed2881be (diff)
Merge pull request #612 from nextcloud/fix/check-direct
Stricter check for direct=1 login
-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;