From 03c6ed2e07a187bc70c8aa348546f25594cd38bd Mon Sep 17 00:00:00 2001 From: Mathijs van Veluw Date: Thu, 9 Nov 2023 00:16:27 +0100 Subject: [PATCH] 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 --- src/api/core/mod.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/api/core/mod.rs b/src/api/core/mod.rs index 7df0171b56..509af35f2f 100644 --- a/src/api/core/mod.rs +++ b/src/api/core/mod.rs @@ -203,7 +203,8 @@ fn config() -> Json { "gitHash": option_env!("GIT_REV"), "server": { "name": "Vaultwarden", - "url": "https://github.com/dani-garcia/vaultwarden" + "url": "https://github.com/dani-garcia/vaultwarden", + "version": crate::VERSION }, "environment": { "vault": domain, @@ -216,8 +217,8 @@ fn config() -> Json { // Any feature flags that we want the clients to use // Can check the enabled ones at: // https://vault.bitwarden.com/api/config - "autofill-v2": true, - "fido2-vault-credentials": true + "fido2-vault-credentials": true, // Passkey support + "autofill-v2": false, // Disabled because it is causing issues https://github.com/dani-garcia/vaultwarden/discussions/4052 }, "object": "config", }))