Ignore:
Timestamp:
Dec 3, 2005 9:17:54 PM (18 years ago)
Author:
scdev
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Auth_SQL.inc.php

    r24 r25  
    4141        'encryption_type' => AUTH_ENCRYPT_MD5,
    4242
    43         // The URL the user will be directed if unsuccessfully calling requireLogin.
     43        // The URL to the login script.
    4444        'login_url' => '/',
    4545
     
    303303            SELECT *, " . $this->_params['db_primary_key'] . " AS user_id
    304304            FROM " . $this->_params['db_table'] . "
    305             WHERE BINARY " . $this->_params['db_username_column'] . " = '" . addslashes($username) . "'
     305            WHERE " . $this->_params['db_username_column'] . " = '" . addslashes($username) . "'
    306306            AND BINARY userpass = '" . addslashes($this->encryptPassword($password)) . "'
    307307        ");
Note: See TracChangeset for help on using the changeset viewer.