Use display name from magic cookie, fixes #4884

This commit is contained in:
Arthur Schiwon 2013-10-18 12:16:47 +02:00
parent c954b04973
commit 33c4747fdf
1 changed files with 1 additions and 0 deletions

View File

@ -828,6 +828,7 @@ class OC {
OC_User::setMagicInCookie($_COOKIE['oc_username'], $token);
// login
OC_User::setUserId($_COOKIE['oc_username']);
OC_User::setDisplayName($_COOKIE['oc_username'], $_COOKIE['display_name']);
OC_Util::redirectToDefaultPage();
// doesn't return
}