diff --git a/backend/Controllers/DispenserController.cs b/backend/Controllers/DispenserController.cs index d9ed3db..b16293c 100644 --- a/backend/Controllers/DispenserController.cs +++ b/backend/Controllers/DispenserController.cs @@ -17,7 +17,7 @@ public class DispenserController : ControllerBase if (user == null) { return BadRequest("Invalid session token"); } - if (user.Dispenses == 0) { + if (user.Dispenses == 0 && !user.IsParent) { Console.WriteLine("Poorfag"); return BadRequest("Not enough dispenses on account"); } diff --git a/frontend/src/views/HomeView.vue b/frontend/src/views/HomeView.vue index c2fe04a..f409129 100644 --- a/frontend/src/views/HomeView.vue +++ b/frontend/src/views/HomeView.vue @@ -29,9 +29,9 @@ async function saveChild(child) {