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 }