phpBB

Code Changes

File: phpbb/cron/task/core/update_hashes.php

  Unmodified   Added   Modified   Removed
Line 106Line 106

while ($row = $this->db->sql_fetchrow($result))
{


while ($row = $this->db->sql_fetchrow($result))
{

				$new_hash = $this->passwords_manager->hash($row['user_password'], array($this->default_type));


				$old_hash = preg_replace('/^\$CP\$/', '', $row['user_password']);
$new_hash = $this->passwords_manager->hash($old_hash, array($this->default_type));


// Increase number so we know that users were selected from the database
$affected_rows++;


// Increase number so we know that users were selected from the database
$affected_rows++;