dani-garcia / vaultwarden

Unofficial Bitwarden compatible server written in Rust, formerly known as bitwarden_rs
GNU Affero General Public License v3.0
34.72k stars 1.69k forks source link

WEB_VAULT_ENABLED can not be changed from ENV_FILE, but it is implied that it can be #4621

Closed slonkazoid closed 4 weeks ago

slonkazoid commented 4 weeks ago

Subject of the issue

WEB_VAULT_ENABLED can not be changed from ENV_FILE, but it is implied that it can be

Deployment environment

Steps to reproduce

  1. Install vaultwarden and the web vault
  2. Set WEB_VAULT_ENABLED to true in ENV_FILE
  3. Go to /admin/diagnostics
  4. "Web Vault is disabled"

Expected behaviour

It should be more clear that you can not enable the web vault from the env file, or alternatively, it should let you enable the web vault from the env file.

Actual behaviour

The web vault feature is disabled even if you set the option, and you are not told why.

Troubleshooting data

not applicable