YunoHost-Apps / vaultwarden_ynh

Open source password management solutions for YunoHost
https://bitwarden.com/
GNU General Public License v3.0
54 stars 17 forks source link

Can't login to admin panel when after reinstall #242

Open Tagadda opened 9 months ago

Tagadda commented 9 months ago

Describe the bug

After I reinstall Vaultwarden, I can't authenticate to the admin panel. On first launch, Vaultwarden copy the AUTH_TOKEN in /home/yunohost.app/vaultwarden/config.json. When you remove the app, this folder is not cleared. After you reinstalled the app, Vaultwarden reads the auth_token from /home/yunohost.app/vaultwarden/config.json and ignore the AUTH_TOKEN from .env.

Context

Steps to reproduce

Expected behavior

The /home/yunohost.app/vaultwarden/ folder should be delete when we remove the app.

isAAAc commented 9 months ago

thx for your help @Tagadda :heart_decoration: