aboutsummaryrefslogtreecommitdiffstats
path: root/php/login.php
diff options
context:
space:
mode:
authoradam <adam@>2021-02-12 16:40:24 +0200
committeradam <adam@>2021-02-12 16:40:24 +0200
commit0c3d535a341dcefd702982715f6d20275a0f512d (patch)
treebdc6249da1f2d6d4a7975d192537511017df9354 /php/login.php
parent75640897d7ae44f10b9dde091d4b8dcba8e23776 (diff)
downloadfileup-0c3d535a341dcefd702982715f6d20275a0f512d.tar.gz
stuff
Diffstat (limited to 'php/login.php')
-rw-r--r--php/login.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/php/login.php b/php/login.php
index 536a5bf..c26445e 100644
--- a/php/login.php
+++ b/php/login.php
@@ -21,6 +21,8 @@ if(!$user)
}
$_SESSION['username'] = $user->username;
+$_SESSION['user_object'] = $user;
+
header('Location: /');
?>