run authenticator only if user is still not known

This commit is contained in:
Uwe Steinmann 2025-05-16 19:12:05 +02:00
parent 7fe2a12af3
commit 964495b9b6

View File

@ -222,7 +222,8 @@ class SeedDMS_Controller_Login extends SeedDMS_Controller_Common {
}
}
$user = $authenticator->authenticate($login, $pwd);
if(!is_object($user))
$user = $authenticator->authenticate($login, $pwd);
if(0) {
/* Authenticate against LDAP server {{{ */