Ignore:
Timestamp:
Feb 15, 2006 3:30:50 AM (18 years ago)
Author:
scdev
Message:

fixed Auth_File

File:
1 edited

Legend:

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

    r64 r65  
    305305
    306306        // Query DB for user matching credentials.
     307        // FIXME: Cannot compare crypt style passwords this way.
    307308        $qid = DB::query("
    308309            SELECT *, " . $this->_params['db_primary_key'] . " AS user_id
     
    693694
    694695        case AUTH_ENCRYPT_CRYPT :
    695             return crypt($password, crypt($password));
     696            return crypt($password);
    696697            break;
    697698
Note: See TracChangeset for help on using the changeset viewer.