diff options
Diffstat (limited to 'engine/lib/sessions.php')
-rw-r--r-- | engine/lib/sessions.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/engine/lib/sessions.php b/engine/lib/sessions.php index 39e564ac8..15ec459d2 100644 --- a/engine/lib/sessions.php +++ b/engine/lib/sessions.php @@ -102,9 +102,7 @@ function login(ElggUser $user, $persistent = false) {
global $CONFIG; -error_log('*****************************************');
-error_log(print_r($_SESSION, true)); -error_log('*****************************************');
+
$_SESSION['user'] = $user;
$_SESSION['guid'] = $user->getGUID();
$_SESSION['id'] = $_SESSION['guid'];
|