Changeset 560 for trunk/lib/Auth_SQL.inc.php
- Timestamp:
- Jan 12, 2016 11:14:55 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/Auth_SQL.inc.php
r550 r560 397 397 398 398 // Get user data for specified username. 399 // Query DB for user matching credentials. Compare cyphertext with salted-encrypted password.400 399 $qid = $db->query(" 401 400 SELECT *, " . $this->_params['db_primary_key'] . " AS user_id … … 408 407 } 409 408 409 // Check given password against hashed DB password. 410 410 $old_hash_type = isset($user_data['userpass_hashtype']) && !empty($user_data['userpass_hashtype']) ? $user_data['userpass_hashtype'] : $this->getParam('hash_type'); 411 411 if ($this->verifyPassword($password, $user_data['userpass'], $old_hash_type)) {
Note: See TracChangeset
for help on using the changeset viewer.