fix regular login, if optional SAML one is enabled for multiple IdP

This commit is contained in:
Ralf Becker 2020-06-10 16:17:20 +02:00
parent 4c131c1866
commit 19f52cd1de

View File

@ -130,7 +130,7 @@ class Auth
elseif (($auth = array_filter($_REQUEST, function($key)
{
return substr($key, 0, 5) === 'auth=';
}, ARRAY_FILTER_USE_KEY)))
}, ARRAY_FILTER_USE_KEY)) && !empty(current($auth)))
{
$type = substr(key($auth), 5);
}