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()