streamaserver / streama

Self hosted streaming media server. https://docs.streama-project.com/
MIT License
9.65k stars 986 forks source link

Unable to disable anonymous access once enabled in admin page. #1121

Open mrshanetuckeruk opened 2 years ago

mrshanetuckeruk commented 2 years ago

Issue description

Once the Allow anonymous access option is selected on the admin dashboard anonymous access is allowed. If the checkbox is then deselected and saved it doesn't uncheck and you can no longer disable anonymous access.

Steps to Reproduce

  1. Go to admin page
  2. Enable Allow anonymous access by clucking the checkbox
  3. Click save
  4. Go back into admin page
  5. Uncheck the Allow anonymous access checkbox
  6. Click save
  7. Go back to admin page and option is still enabled.

If someone can help provide a sql statement to disable it from the database or remove the anonymous user it would be most appreciated.

Expected Behaviour

Tell us what should happen

Actual Behaviour

Tell us what happens instead

Environment Information