azukaar / Cosmos-Server

☁️ The Most Secure and Easy Selfhosted Home Server. Take control of your data and privacy without sacrificing security and stability (Authentication, anti-DDOS, anti-bot)
https://cosmos-cloud.io
Other
3.65k stars 130 forks source link

[BUG]: User unauthorized #343

Open markusglaetzner opened 1 month ago

markusglaetzner commented 1 month ago

What happened?

I created a User and when I login and click on URL, I get this message every 5 seconds.

What should have happened?

No error message when a user opens URLs

How to reproduce the bug?

  1. Create a new user
  2. login with this user
  3. Click on URL
  4. Get error "User unauthorized" every 5 seconds

Relevant log output

2024/10/19 14:26:24 [ERROR] AdminOnly: User is not admin : 
2024/10/19 14:26:24 [ERROR] HTTP Request returned Error 401 : User unauthorized :

Other details

No response

System details