Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

New guest language is same as site

  • Loading branch information...
commit ad6c33dcaa07d10c41d222d65d81d1559114bdbc 1 parent 6f4db0e
moodler authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  login/index.php
View
1  login/index.php
@@ -11,6 +11,7 @@
$guest->email = "root@localhost";
$guest->description = get_string("guestuserinfo");
$guest->confirmed = 1;
+ $guest->lang = $CFG->lang;
$guest->timemodified= time();
if (! $guest->id = insert_record("user", $guest)) {
Please sign in to comment.
Something went wrong with that request. Please try again.