mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-19 06:46:49 +01:00
* [FIX] Fixed issue when searching an user groupmembership to access to an account. Thanks to @basil-twisleton
* [FIX] Closes #157. Fixed issue when adding LDAP users that don't have any default group/profile set, they are disabled. Thanks to @CyrosX * [FIX] Closes #154. Modified a string in the ldap template. Thanks to @tsener * [MOD] Changed default behavior when creating a new account. Now a blank form is displayed. Thanks to @basil-twisleton * [MOD] Closes #155. Extensions cannot contain other characters than "A-Z", "0-9", "_" and "-". Thanks to @tsener
This commit is contained in:
@@ -315,8 +315,8 @@ class UsersMgmtC extends Controller implements ActionsInterface
|
||||
$this->_module = self::ACTION_USR_USERS;
|
||||
$this->view->addTemplate('users');
|
||||
|
||||
$this->view->assign('isDisabled', ($this->view->isDemo || $this->view->actionId === self::ACTION_USR_USERS_VIEW) ? 'disabled' : '');
|
||||
$this->view->assign('user', UserUtil::getUserData($this->view->itemId));
|
||||
$this->view->assign('isDisabled', (($this->view->user['user_login'] === 'demo' && $this->view->isDemo) || $this->view->actionId === self::ACTION_USR_USERS_VIEW) ? 'disabled' : '');
|
||||
$this->view->assign('groups', DB::getValuesForSelect('usrGroups', 'usergroup_id', 'usergroup_name'));
|
||||
$this->view->assign('profiles', DB::getValuesForSelect('usrProfiles', 'userprofile_id', 'userprofile_name'));
|
||||
$this->view->assign('ro', ($this->view->user['checks']['user_isLdap']) ? 'READONLY' : '');
|
||||
|
||||
Reference in New Issue
Block a user