Disable autofill-v2 (#4056)

Disabled autofill-v2 as it seems to cause strange issues as reported
here: https://github.com/dani-garcia/vaultwarden/discussions/4052

Also added the Vaultwarden server version back again but at a different
location.

Fixes #4052
This commit is contained in:
Mathijs van Veluw 2023-11-09 00:16:27 +01:00 committed by GitHub
parent efc6eb0073
commit 03c6ed2e07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -203,7 +203,8 @@ fn config() -> Json<Value> {
"gitHash": option_env!("GIT_REV"), "gitHash": option_env!("GIT_REV"),
"server": { "server": {
"name": "Vaultwarden", "name": "Vaultwarden",
"url": "https://github.com/dani-garcia/vaultwarden" "url": "https://github.com/dani-garcia/vaultwarden",
"version": crate::VERSION
}, },
"environment": { "environment": {
"vault": domain, "vault": domain,
@ -216,8 +217,8 @@ fn config() -> Json<Value> {
// Any feature flags that we want the clients to use // Any feature flags that we want the clients to use
// Can check the enabled ones at: // Can check the enabled ones at:
// https://vault.bitwarden.com/api/config // https://vault.bitwarden.com/api/config
"autofill-v2": true, "fido2-vault-credentials": true, // Passkey support
"fido2-vault-credentials": true "autofill-v2": false, // Disabled because it is causing issues https://github.com/dani-garcia/vaultwarden/discussions/4052
}, },
"object": "config", "object": "config",
})) }))