diff options
author | Paul S. Owen <psotfx@users.sourceforge.net> | 2003-10-12 15:29:18 +0000 |
---|---|---|
committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2003-10-12 15:29:18 +0000 |
commit | 9da094fec24666b80349cc73978c26ba76105153 (patch) | |
tree | a636b1626bd2bbc0e19b3bbf3b774105a7aeac9f /phpBB/includes/auth | |
parent | 90ad130d48893a63aea1db7e61ea9d39c6018cb1 (diff) | |
download | forums-9da094fec24666b80349cc73978c26ba76105153.tar forums-9da094fec24666b80349cc73978c26ba76105153.tar.gz forums-9da094fec24666b80349cc73978c26ba76105153.tar.bz2 forums-9da094fec24666b80349cc73978c26ba76105153.tar.xz forums-9da094fec24666b80349cc73978c26ba76105153.zip |
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
Diffstat (limited to 'phpBB/includes/auth')
-rw-r--r-- | phpBB/includes/auth/auth_apache.php | 4 | ||||
-rw-r--r-- | phpBB/includes/auth/auth_db.php | 4 | ||||
-rw-r--r-- | phpBB/includes/auth/auth_ldap.php | 4 |
3 files changed, 6 insertions, 6 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); 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); diff --git a/phpBB/includes/auth/auth_ldap.php b/phpBB/includes/auth/auth_ldap.php index b8c289c2ab..1b89a02d20 100644 --- a/phpBB/includes/auth/auth_ldap.php +++ b/phpBB/includes/auth/auth_ldap.php @@ -34,8 +34,8 @@ function login_ldap(&$username, &$password) { @ldap_close($ldap); - $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); |