mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 08:39:07 +01:00
reversed password change ACL from changepassword to nopassword change, to allow eGW users created in LDAP to be full users, without the need to change/add something in the ACL table
This commit is contained in:
parent
8383d58c50
commit
e457717dde
@ -30,7 +30,7 @@
|
||||
$n_passwd_2 = $_POST['n_passwd_2'];
|
||||
$o_passwd_2 = $_POST['o_passwd_2'];
|
||||
|
||||
if(!$GLOBALS['egw']->acl->check('changepassword', 1) || $_POST['cancel'])
|
||||
if($GLOBALS['egw']->acl->check('nopasswordchange', 1) || $_POST['cancel'])
|
||||
{
|
||||
$GLOBALS['egw']->redirect_link('/preferences/index.php');
|
||||
$GLOBALS['egw']->common->egw_exit();
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
/* $Id$ */
|
||||
|
||||
if ($GLOBALS['egw']->acl->check('changepassword',1))
|
||||
if (!$GLOBALS['egw']->acl->check('nopasswordchange',1))
|
||||
{
|
||||
$file['Change your Password'] = $GLOBALS['egw']->link('/index.php','menuaction=preferences.uipassword.change');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user