mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-26 23:34:08 +02:00
auth: increase backends tried counter AFTER skipping autologin backends
This commit is contained in:
parent
defa02a609
commit
a5e9d6cf0d
@ -111,12 +111,10 @@ class AuthenticationController extends ActionController
|
||||
$backendsWithError = 0;
|
||||
|
||||
foreach ($chain as $backend) {
|
||||
++$backendsTried;
|
||||
|
||||
if ($backend instanceof AutoLoginBackend) {
|
||||
continue;
|
||||
}
|
||||
|
||||
++$backendsTried;
|
||||
try {
|
||||
$authenticated = $backend->authenticate($user, $password);
|
||||
} catch (AuthenticationException $e) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user