From 0c3d535a341dcefd702982715f6d20275a0f512d Mon Sep 17 00:00:00 2001 From: adam Date: Fri, 12 Feb 2021 16:40:24 +0200 Subject: stuff --- php/login.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'php/login.php') 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: /'); ?> -- cgit v1.2.3