aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/sessions.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/sessions.php')
-rw-r--r--engine/lib/sessions.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/engine/lib/sessions.php b/engine/lib/sessions.php
index 3dd9ac9e1..39e564ac8 100644
--- a/engine/lib/sessions.php
+++ b/engine/lib/sessions.php
@@ -101,8 +101,10 @@
*/
function login(ElggUser $user, $persistent = false) {
- global $CONFIG;
-
+ global $CONFIG;
+error_log('*****************************************');
+error_log(print_r($_SESSION, true));
+error_log('*****************************************');
$_SESSION['user'] = $user;
$_SESSION['guid'] = $user->getGUID();
$_SESSION['id'] = $_SESSION['guid'];