mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
MDL-35332: Use fast hash when generating hashes during tests
This commit is contained in:
parent
ec2d8ceb88
commit
5c4ffeb883
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user