From a237ae0b9964cc5e429ef1234a5281d74d369bae Mon Sep 17 00:00:00 2001 From: Lucas Pouzac Date: Wed, 12 Feb 2020 17:28:24 +0100 Subject: [PATCH] Fix no automatic login --- login.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/login.php b/login.php index 5ddf40c810..89944f0d2f 100755 --- a/login.php +++ b/login.php @@ -142,7 +142,7 @@ else $passwd_type = $_POST['passwd_type']; // forced password change - if($GLOBALS['egw']->session->cd_reason != Api\Session::CD_FORCE_PASSWORD_CHANGE) + if($GLOBALS['egw']->session->cd_reason == Api\Session::CD_FORCE_PASSWORD_CHANGE) { // no automatic login }