mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-12 00:45:34 +00:00
log failed authentication at ldap server
This commit is contained in:
parent
2ff0979275
commit
9d2fba4fc6
|
@ -104,6 +104,9 @@ class SeedDMS_Controller_Login extends SeedDMS_Controller_Common {
|
||||||
require_once("../inc/inc.ClassLdapAuthentication.php");
|
require_once("../inc/inc.ClassLdapAuthentication.php");
|
||||||
$authobj = new SeedDMS_LdapAuthentication($dms, $settings);
|
$authobj = new SeedDMS_LdapAuthentication($dms, $settings);
|
||||||
$user = $authobj->authenticate($login, $pwd);
|
$user = $authobj->authenticate($login, $pwd);
|
||||||
|
if(!$user) {
|
||||||
|
add_log_line('Authentication against LDAP failed for user '.$login);
|
||||||
|
}
|
||||||
} /* }}} */
|
} /* }}} */
|
||||||
|
|
||||||
/* Authenticate against SeedDMS database {{{ */
|
/* Authenticate against SeedDMS database {{{ */
|
||||||
|
|
Loading…
Reference in New Issue
Block a user