diff options
author | Carl Schwan <carl@carlschwan.eu> | 2022-05-12 18:07:06 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-12 18:07:06 +0300 |
commit | 957c51067b2fba6687e6d2f8efb438e286d710a9 (patch) | |
tree | f3dc7e044781a11ec2f241e24814bfa702f7d509 | |
parent | 144cf7ff7156b8dda6366a405f446fa9328cb7b5 (diff) | |
parent | 06b6f33159703fa5ce3cad5b3fd94dc0ed2881be (diff) |
Merge pull request #612 from nextcloud/fix/check-direct
Stricter check for direct=1 login
-rw-r--r-- | appinfo/app.php | 2 |
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; |