mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-13 13:11:31 +00:00
do not set role when adding new user because the default is just fine
This commit is contained in:
parent
23b8e48831
commit
b8c59fd264
|
@ -29,7 +29,7 @@ class SeedDMS_LdapAuthentication extends SeedDMS_Authentication {
|
||||||
var $settings;
|
var $settings;
|
||||||
|
|
||||||
protected function addUser($username, $info) {
|
protected function addUser($username, $info) {
|
||||||
return $this->dms->addUser($username, null, $info['cn'][0], $info['mail'][0], $settings->_language, $settings->_theme, "", 0);
|
return $this->dms->addUser($username, null, $info['cn'][0], isset($info['mail']) ? $info['mail'][0] : '', $this->settings->_language, $this->settings->_theme, "");
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function updateUser($user, $info) {
|
protected function updateUser($user, $info) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user