aboutsummaryrefslogtreecommitdiff
path: root/src/api/core/mod.rs
diff options
context:
space:
mode:
authorMathijs van Veluw <[email protected]>2023-11-09 00:16:27 +0100
committerGitHub <[email protected]>2023-11-09 00:16:27 +0100
commit03c6ed2e07a187bc70c8aa348546f25594cd38bd (patch)
tree716a72da566012b51b465fcfaae4208743262923 /src/api/core/mod.rs
parentefc6eb0073d9740a3bf2dc99e8fe5afd50a2e4e3 (diff)
downloadvaultwarden-03c6ed2e07a187bc70c8aa348546f25594cd38bd.tar.gz
vaultwarden-03c6ed2e07a187bc70c8aa348546f25594cd38bd.zip
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
Diffstat (limited to 'src/api/core/mod.rs')
-rw-r--r--src/api/core/mod.rs7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/api/core/mod.rs b/src/api/core/mod.rs
index 7df0171b..509af35f 100644
--- a/src/api/core/mod.rs
+++ b/src/api/core/mod.rs
@@ -203,7 +203,8 @@ fn config() -> Json<Value> {
"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<Value> {
// 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",
}))