From 2cd67b0ba68da1d3c4a8cfe6e6655a7176b079af Mon Sep 17 00:00:00 2001 From: ben Date: Fri, 7 Mar 2008 18:51:02 +0000 Subject: Grabbing the ElggUser and sticking it in the session as appropriate git-svn-id: https://code.elgg.org/elgg/trunk@109 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/users.php | 1 + 1 file changed, 1 insertion(+) diff --git a/engine/lib/users.php b/engine/lib/users.php index c88c50535..1a865d68e 100644 --- a/engine/lib/users.php +++ b/engine/lib/users.php @@ -452,6 +452,7 @@ "code" =>$code ), "id, username, name, password")) { foreach($users as $user) { + $_SESSION['user'] = get_user($user->id); $_SESSION['id'] = $user->id; $_SESSION['username'] = $user->username; $_SESSION['name'] = $user->name; -- cgit v1.2.3