From b80bb32375bda6885efe84c2a33e39cae2c65d9c Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 19 Sep 2019 12:57:43 +0200 Subject: [PATCH] * Password&Security: fix not working password change after 19.1.20190917 --- preferences/inc/class.preferences_password.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/preferences/inc/class.preferences_password.inc.php b/preferences/inc/class.preferences_password.inc.php index 681928cc9c..b9ecaf2458 100644 --- a/preferences/inc/class.preferences_password.inc.php +++ b/preferences/inc/class.preferences_password.inc.php @@ -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']))) {