Fix no automatic login

This commit is contained in:
Lucas Pouzac 2020-02-12 17:28:24 +01:00 committed by Ralf Becker
parent b576476a33
commit a237ae0b99

View File

@ -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
}