Merge pull request #1183 from viharm/fix/DBUserDetailRetention-LDAP
Retain user data in DB for existing userspull/1273/head
commit
fccc264107
|
@ -252,7 +252,7 @@ class User
|
||||||
// Delegate the authentication to the PsmLDAPauth module.
|
// Delegate the authentication to the PsmLDAPauth module.
|
||||||
// If LDAP auth fails or if library not found, fall back to native auth
|
// If LDAP auth fails or if library not found, fall back to native auth
|
||||||
include_once($ldaplibpath);
|
include_once($ldaplibpath);
|
||||||
$ldapauthstatus = psmldapauth($user_name, $user_password, $GLOBALS['sm_config'], $this->db_connection);
|
$ldapauthstatus = psmldapauth($user_name, $user_password, $GLOBALS['sm_config'], $this->db_connection, $this->getUserByUsername($user_name));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue