diff options
Diffstat (limited to 'phpBB/includes/auth/auth_apache.php')
| -rw-r--r-- | phpBB/includes/auth/auth_apache.php | 4 |
1 files changed, 2 insertions, 2 deletions
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); |
