mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-07-16 08:54:01 -05:00
[PR #2803] [MERGED] v2022.9.2 expects a json response while registering #3016
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/dani-garcia/vaultwarden/pull/2803
Author: @stefan0xC
Created: 10/7/2022
Status: ✅ Merged
Merged: 10/9/2022
Merged by: @dani-garcia
Base:
main← Head:update-to-v2022.9.2📝 Commits (3)
e50edcav2022.9.2 expects a json response when registering9132cc4return CaptchaBypassToken and register object0a0f620return "Object" for consistency📊 Changes
1 file changed (+6 additions, -2 deletions)
View changed files
📝
src/api/core/accounts.rs(+6 -2)📄 Description
This is a minimal change to make vaultwarden compatible with v2022.9.2 because the web-vault expects a JSON response while registering now. It checks for the existence of a CaptchaBypassToken (see bitwarden/clients#3531) in the response which leads to a syntax error when trying to parse the Empty result.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.