mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-16 14:41:39 +00:00
Merge branch 'seeddms-5.1.x' into seeddms-6.0.x
This commit is contained in:
commit
a71da52667
|
@ -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 {{{ */
|
||||||
|
|
|
@ -171,7 +171,7 @@ class HTTP_WebDAV_Server_SeedDMS extends HTTP_WebDAV_Server
|
||||||
|
|
||||||
if(!$userobj) {
|
if(!$userobj) {
|
||||||
if($this->logger)
|
if($this->logger)
|
||||||
$this->logger->log('check_auth: No such user', PEAR_LOG_NOTICE);
|
$this->logger->log('check_auth: No such user'.$user, PEAR_LOG_NOTICE);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user