Update user.php to fix duplicate session-duplicate

This commit is contained in:
nhirokinet 2013-12-22 01:31:04 +09:00
parent 068688063e
commit c2e2c59ca7
1 changed files with 0 additions and 1 deletions

View File

@ -243,7 +243,6 @@ class OC_User {
OC_Hook::emit( "OC_User", "pre_login", array( "run" => &$run, "uid" => $uid ));
if($uid) {
session_regenerate_id(true);
self::setUserId($uid);
self::setDisplayName($uid);
OC_Hook::emit( "OC_User", "post_login", array( "uid" => $uid, 'password'=>'' ));