aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engine/lib/sessions.php4
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'];