Lines Matching refs:account
215 * $account object, for example the uid to look up the hash in a custom table
220 * @param $account
226 function user_check_password($password, $account) {
227 if (substr($account->pass, 0, 2) == 'U$') {
230 $stored_hash = substr($account->pass, 1);
234 $stored_hash = $account->pass;
266 * on the fields in $account.
268 * @param $account
274 function user_needs_new_hash($account) {
276 if ((substr($account->pass, 0, 3) != '$S$') || (strlen($account->pass) != DRUPAL_HASH_LENGTH)) {
282 return (_password_get_count_log2($account->pass) !== $count_log2);