projects
/
mailer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64dbf54
)
Fix for if user account is missing
author
Roland Häder
<roland@mxchange.org>
Mon, 5 Jul 2010 08:33:19 +0000
(08:33 +0000)
committer
Roland Häder
<roland@mxchange.org>
Mon, 5 Jul 2010 08:33:19 +0000
(08:33 +0000)
inc/libs/user_functions.php
patch
|
blob
|
history
diff --git
a/inc/libs/user_functions.php
b/inc/libs/user_functions.php
index 4ef50c9d38f7d3fd959dd62eeec59521643105a8..6e8ebaf67d4dde3256c31e7b761960139faf401d 100644
(file)
--- 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'));