mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
New users created by admin also now default to site language
This commit is contained in:
parent
369622db97
commit
177e50ed98
@ -17,6 +17,7 @@
|
||||
$user->password = md5("admin");
|
||||
$user->email = "root@localhost";
|
||||
$user->confirmed = 1;
|
||||
$user->lang = $CFG->lang;
|
||||
$user->maildisplay = 1;
|
||||
$user->timemodified = time();
|
||||
|
||||
@ -72,6 +73,7 @@
|
||||
$user->username = "changeme";
|
||||
$user->password = "";
|
||||
$user->email = "";
|
||||
$user->lang = $CFG->lang;
|
||||
$user->confirmed = 1;
|
||||
$user->timemodified = time();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user