mirror of
https://github.com/netzbegruenung/user_saml.git
synced 2024-05-03 09:33:46 +02:00
Stricter check for direct=1 login
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
This commit is contained in:
parent
fbb0d9f6cd
commit
06b6f33159
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue