forked from extern/egroupware
* Password&Security: fix not working password change after 19.1.20190917
This commit is contained in:
parent
131aa4715a
commit
b80bb32375
@ -74,7 +74,7 @@ class preferences_password
|
||||
switch($content['tabs'])
|
||||
{
|
||||
case 'change_password':
|
||||
if ($GLOBALS['egw']->acl->check('nopasswordchange', 1) && $content['button']['save'])
|
||||
if (!$GLOBALS['egw']->acl->check('nopasswordchange', 1) && $content['button']['save'])
|
||||
{
|
||||
if (($errors = self::do_change($content['password'], $content['n_passwd'], $content['n_passwd_2'])))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user