From ececc6235c9329c9a7fec6d5bc4a81f4bac524d6 Mon Sep 17 00:00:00 2001 From: Chris Date: Mon, 30 Oct 2023 23:39:07 +0100 Subject: [PATCH] yes --- web/models/User.model.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/models/User.model.php b/web/models/User.model.php index 0ed3537..68ac931 100644 --- a/web/models/User.model.php +++ b/web/models/User.model.php @@ -30,12 +30,12 @@ class User extends Model { $_SESSION['user'] = $this; $_SESSION['userid'] = $this->id; - + var_dump("before save: ".$_SESSION['user']->active); $_SESSION['user']->save(); var_dump($_SESSION['user']->active); - exit(); + exit("bye"); } function logout()