mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-04 07:34:09 +01:00
* [FIX] Fixed duplicated user login when adding/updating an LDAP user record during log in. Solves #468. Thanks to @zulink
This commit is contained in:
@@ -473,6 +473,8 @@ class LoginController
|
||||
$this->LogMessage->addDetails(__('Servidor LDAP', false), $LdapAuthData->getServer());
|
||||
|
||||
try {
|
||||
$this->UserData->setUserLogin($this->UserData->getLogin());
|
||||
|
||||
// Verificamos si el usuario existe en la BBDD
|
||||
if (UserLdap::checkLDAPUserInDB($this->UserData->getLogin())) {
|
||||
// Actualizamos el usuario de LDAP en MySQL
|
||||
|
||||
Reference in New Issue
Block a user