aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/users.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/users.php')
-rw-r--r--engine/lib/users.php1
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;