Ignore:
Timestamp:
Jan 12, 2016 11:14:55 PM (8 years ago)
Author:
anonymous
Message:

Minor code formatting and comments.

File:
1 edited

Legend:

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

    r550 r560  
    397397
    398398        // Get user data for specified username.
    399         // Query DB for user matching credentials. Compare cyphertext with salted-encrypted password.
    400399        $qid = $db->query("
    401400            SELECT *, " . $this->_params['db_primary_key'] . " AS user_id
     
    408407        }
    409408
     409        // Check given password against hashed DB password.
    410410        $old_hash_type = isset($user_data['userpass_hashtype']) && !empty($user_data['userpass_hashtype']) ? $user_data['userpass_hashtype'] : $this->getParam('hash_type');
    411411        if ($this->verifyPassword($password, $user_data['userpass'], $old_hash_type)) {
Note: See TracChangeset for help on using the changeset viewer.