mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-02-05 00:29:40 +03:00
admin page still active after commenting out ADMIN_TOKEN in docker-compose #1176
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @degrashopper on GitHub (Dec 21, 2021).
Subject of the issue
admin page
Deployment environment
Install method: docker
Clients used: desktop, android
Reverse proxy and version: traefik v2.5.4
MySQL/MariaDB or PostgreSQL version: SQLite
Other relevant details:
Steps to reproduce
comment out ADMIN_TOKEN under vaultwarden in docker-compose and restart the container.
Expected behaviour
/admin page should not exist after commenting out ADMIN_TOKEN
Actual behaviour
/admin page is still visitable
Troubleshooting data
@BlackDex commented on GitHub (Dec 21, 2021):
You probably have saved some settings via the /admin interface before, which creates a
config.jsonwhich overrules the ENV variables including theADMIN_TOKEN.Either delete that file, or empty that out via the /admin interface.