From 9f11c37fe454412ba85650898391874bb1c2ad06 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Mon, 5 Jul 2010 08:33:19 +0000 Subject: [PATCH] Fix for if user account is missing --- inc/libs/user_functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/libs/user_functions.php b/inc/libs/user_functions.php index 4ef50c9d38..6e8ebaf67d 100644 --- a/inc/libs/user_functions.php +++ b/inc/libs/user_functions.php @@ -385,7 +385,7 @@ function doUserLogin ($userid, $passwd, $successUrl = '', $errorUrl = 'modules.p // Wrong password! $errorCode = getCode('WRONG_PASS'); } - } elseif (getUserData('status') != 'CONFIRMED') { + } elseif ((isUserDataValid()) && (getUserData('status') != 'CONFIRMED')) { // Create an error code from given status $errorCode = generateErrorCodeFromUserStatus(getUserData('status')); -- 2.39.5