benschaf / waste-schedule

This is a waste-management App with CRUD functionality. Never forget to take out your bins on time! Connect with your community and be Eco-Conscious together.
0 stars 0 forks source link

Logged out client throws error when trying to subscribe from the backend #70

Closed benschaf closed 2 months ago

benschaf commented 2 months ago

Describe the bug This was found during unittests

To Reproduce Steps to reproduce the behavior:

  1. run unittests

Expected behavior logged out users should be redirected to login

benschaf commented 2 months ago

fixed with 7dd44da

fix: only logged in users can subscribe now this bug was found after creating test cases for subscribing / unsubscribing as a unauthorized user