From: Alexander Ebert Date: Fri, 1 Jun 2012 10:47:20 +0000 (+0200) Subject: Use empty username during setup X-Git-Tag: 2.0.0_Beta_1~1088 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=312a61b60fbe8e0650e224d84cf6f3bcbf9e7e89;p=GitHub%2FWoltLab%2FWCF.git Use empty username during setup Fixes #625 --- diff --git a/wcfsetup/install/files/lib/system/session/SessionHandler.class.php b/wcfsetup/install/files/lib/system/session/SessionHandler.class.php index d108e0bd62..ed6987103d 100644 --- a/wcfsetup/install/files/lib/system/session/SessionHandler.class.php +++ b/wcfsetup/install/files/lib/system/session/SessionHandler.class.php @@ -344,7 +344,7 @@ class SessionHandler extends SingletonFactory { 'sessionID' => $sessionID, 'packageID' => PACKAGE_ID, 'userID' => $this->user->userID, - 'username' => $this->user->username, + 'username' => (PACKAGE_ID) ? $this->user->username : '', 'ipAddress' => UserUtil::getIpAddress(), 'userAgent' => UserUtil::getUserAgent(), 'lastActivityTime' => TIME_NOW,