diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-03-07 18:51:02 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-03-07 18:51:02 +0000 |
commit | 2cd67b0ba68da1d3c4a8cfe6e6655a7176b079af (patch) | |
tree | b84899fbd9b1733c21a2f7a8b68eaedafa6b3f01 /engine/lib | |
parent | 6bbeab62150bd2e3d4ee79018608be2dcc591d2c (diff) | |
download | elgg-2cd67b0ba68da1d3c4a8cfe6e6655a7176b079af.tar.gz elgg-2cd67b0ba68da1d3c4a8cfe6e6655a7176b079af.tar.bz2 |
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
Diffstat (limited to 'engine/lib')
-rw-r--r-- | engine/lib/users.php | 1 |
1 files changed, 1 insertions, 0 deletions
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;
|