mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-07-14 00:04:59 +00:00
Support Org Export for v2022.11 clients
Since v2022.9.x the org export uses a different endpoint. But, since v2022.11.x this endpoint will return a different format. See: https://github.com/bitwarden/clients/pull/3641 and https://github.com/bitwarden/server/pull/2316 To support both version in the case of users having an older client either web-vault or cli this PR checks the version and responds using the correct format. If no version can be determined it will use the new format as a default.
This commit is contained in:
parent
f60a6929a9
commit
c9ec389b24
4 changed files with 61 additions and 21 deletions
|
@ -142,6 +142,9 @@ governor = "0.5.0"
|
|||
# Capture CTRL+C
|
||||
ctrlc = { version = "3.2.3", features = ["termination"] }
|
||||
|
||||
# Check client versions for specific features.
|
||||
semver = "1.0.14"
|
||||
|
||||
# Allow overriding the default memory allocator
|
||||
# Mainly used for the musl builds, since the default musl malloc is very slow
|
||||
mimalloc = { version = "0.1.30", features = ["secure"], default-features = false, optional = true }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue