aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/auth
diff options
context:
space:
mode:
authorDavid M <davidmj@users.sourceforge.net>2006-05-13 17:48:21 +0000
committerDavid M <davidmj@users.sourceforge.net>2006-05-13 17:48:21 +0000
commit2499d92c83e5bad7860e7b581525a947b6bde27d (patch)
treef943fadcf17ba055f9e489d7394c99d85bd4061c /phpBB/includes/auth
parentc652f7a4a7531abd38c6d54eef12b8759077af65 (diff)
downloadforums-2499d92c83e5bad7860e7b581525a947b6bde27d.tar
forums-2499d92c83e5bad7860e7b581525a947b6bde27d.tar.gz
forums-2499d92c83e5bad7860e7b581525a947b6bde27d.tar.bz2
forums-2499d92c83e5bad7860e7b581525a947b6bde27d.tar.xz
forums-2499d92c83e5bad7860e7b581525a947b6bde27d.zip
- captcha stuff
- unique_id git-svn-id: file:///svn/phpbb/trunk@5911 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/auth')
-rw-r--r--phpBB/includes/auth/auth_db.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/auth/auth_db.php b/phpBB/includes/auth/auth_db.php
index a53ae0e819..a4a6c8d268 100644
--- a/phpBB/includes/auth/auth_db.php
+++ b/phpBB/includes/auth/auth_db.php
@@ -71,7 +71,7 @@ function login_db(&$username, &$password)
if ($confirm_row)
{
- if ($confirm_row['code'] != $confirm_code)
+ if (strcasecmp($confirm_row['code'], $confirm_code) == 0)
{
return array(
'status' => LOGIN_ERROR_ATTEMPTS,