From 9da094fec24666b80349cc73978c26ba76105153 Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Sun, 12 Oct 2003 15:29:18 +0000 Subject: Updated the various "users of emailer", fixed issue(!) of jabber using the email address as the uid, blah fixes, blah, blah di blah yakety smackety git-svn-id: file:///svn/phpbb/trunk@4583 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/auth/auth_apache.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'phpBB/includes/auth/auth_apache.php') diff --git a/phpBB/includes/auth/auth_apache.php b/phpBB/includes/auth/auth_apache.php index 9c08558660..d9b00f5435 100644 --- a/phpBB/includes/auth/auth_apache.php +++ b/phpBB/includes/auth/auth_apache.php @@ -20,8 +20,8 @@ function login_apache(&$username, &$password) if ($php_auth_user && $php_auth_pw) { - $sql = "SELECT user_id, username, user_password, user_email, user_active - FROM " . USERS_TABLE . " + $sql = ' user_id, username, user_password, user_passchg, user_email, user_active + FROM ' . USERS_TABLE . " WHERE username = '" . $db->sql_escape($username) . "'"; $result = $db->sql_query($sql); -- cgit v1.2.1