* Password&Security: fix not working password change after 19.1.20190917

This commit is contained in:
Ralf Becker 2019-09-19 12:57:43 +02:00
parent 131aa4715a
commit b80bb32375

View File

@ -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'])))
{