Skip to content
Browse files

Reset proper encoding upon login bug 2770

  • Loading branch information...
1 parent 657af04 commit 94fae211d9773528ab6af102552b5160674373b9 moodler committed
Showing with 3 additions and 0 deletions.
  1. +3 −0 login/index.php
View
3 login/index.php
@@ -78,7 +78,10 @@
unset($SESSION->wantsurl);
unset($SESSION->lang);
+ unset($SESSION->encoding);
+
$SESSION->justloggedin = true;
+ $SESSION->encoding = get_string('thischarset');
add_to_log(SITEID, "user", "login", "view.php?id=$user->id&course=".SITEID, $user->id, 0, $user->id);

0 comments on commit 94fae21

Please sign in to comment.
Something went wrong with that request. Please try again.