HemmeligOrg / Hemmelig.app

Keep your sensitive information out of chat logs, emails, and more with encrypted secrets.
https://hemmelig.app
MIT License
697 stars 61 forks source link

401 Unauthorized #222

Closed art-n closed 1 year ago

art-n commented 1 year ago

Description

After logged in as admin, got a 401 unauthorized from /api/account.

Account page keeps loading and can't edit any account settings.

Any idea ? Cheers!

Screenshots

No response

Additional information

No response

bjarneo commented 1 year ago

@art-n Hi,

Can you access the sqlite database and verify your admin account is there as an admin, and, if you have set any restrictions in the settings page?

art-n commented 1 year ago

Hello @bjarneo,

I haven't changed any settings.

Here's the result of the user table : d9ca06ed-0ea6-4afa-85e3-a6995610175f|root|email_replaced|pass_replaced|admin|1

Seems good right ?

art-n commented 1 year ago

Adding SECRET_HOST did the trick 🤦🏼‍♂️

Thank you for creating this app btw !

bjarneo commented 1 year ago

Awesome that you figured it out :)

Thank you!