diff --git a/lib/testing/generator/data_generator.php b/lib/testing/generator/data_generator.php index 7ab11b18e6a..0afeb63ed08 100644 --- a/lib/testing/generator/data_generator.php +++ b/lib/testing/generator/data_generator.php @@ -204,7 +204,8 @@ EOD; $record['timemodified'] = $record['timecreated']; $record['lastip'] = '0.0.0.0'; - $record['password'] = hash_internal_user_password($record['password']); + // Use fast hash during testing. + $record['password'] = hash_internal_user_password($record['password'], true); if ($record['deleted']) { $delname = $record['email'].'.'.time();