Fix user's displayName being overwritten by (old) cookie
This commit is contained in:
parent
125dff8997
commit
2a7380cc21
1 changed files with 0 additions and 1 deletions
|
@ -866,7 +866,6 @@ class OC {
|
||||||
OC_User::setMagicInCookie($_COOKIE['oc_username'], $token);
|
OC_User::setMagicInCookie($_COOKIE['oc_username'], $token);
|
||||||
// login
|
// login
|
||||||
OC_User::setUserId($_COOKIE['oc_username']);
|
OC_User::setUserId($_COOKIE['oc_username']);
|
||||||
OC_User::setDisplayName($_COOKIE['oc_username'], $_COOKIE['display_name']);
|
|
||||||
OC_Util::redirectToDefaultPage();
|
OC_Util::redirectToDefaultPage();
|
||||||
// doesn't return
|
// doesn't return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue