Yooooomi / your_spotify

Self hosted Spotify tracking dashboard
GNU General Public License v3.0
2.77k stars 110 forks source link

Admin tab gone from settings #286

Closed Shakmir closed 10 months ago

Shakmir commented 11 months ago

Describe the bug

I was checking the settings page, went to admin tab, I thought I was setting myself as an admin but I think I did the opposite, now the tab is gone and I have no other users that could act as admin.

Expected behavior

Not a bug but would be clearer to have a toggle button for setting a user as admin or no.

Additional context

Again, not a bug so I don't think logs are necessary. I'm hosting the app in Unraid. How do I make myself admin again?

Screenshots

firefox_230925_121225_Xuu50

Yooooomi commented 10 months ago

As of now, there is no possibility to re admin yourself on your own. However since 1.7.1, you cannot unadmin yourself if you're the only one. My advice would be either to erase your database and just reset everything. Or use the mongo cli to flag yourself as admin again.