diff options
Diffstat (limited to 'phpBB/includes/auth/auth_db.php')
| -rw-r--r-- | phpBB/includes/auth/auth_db.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/auth/auth_db.php b/phpBB/includes/auth/auth_db.php index a5de9e1724..927c3ecfe7 100644 --- a/phpBB/includes/auth/auth_db.php +++ b/phpBB/includes/auth/auth_db.php @@ -14,8 +14,8 @@ function login_db(&$username, &$password) { global $db, $config; - $sql = "SELECT user_id, username, user_password, user_email, user_active - FROM " . USERS_TABLE . " + $sql = 'SELECT 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); |
