mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 12:39:25 +01:00
fix regular login, if optional SAML one is enabled for multiple IdP
This commit is contained in:
parent
4c131c1866
commit
19f52cd1de
@ -130,7 +130,7 @@ class Auth
|
|||||||
elseif (($auth = array_filter($_REQUEST, function($key)
|
elseif (($auth = array_filter($_REQUEST, function($key)
|
||||||
{
|
{
|
||||||
return substr($key, 0, 5) === 'auth=';
|
return substr($key, 0, 5) === 'auth=';
|
||||||
}, ARRAY_FILTER_USE_KEY)))
|
}, ARRAY_FILTER_USE_KEY)) && !empty(current($auth)))
|
||||||
{
|
{
|
||||||
$type = substr(key($auth), 5);
|
$type = substr(key($auth), 5);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user