mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-07-20 21:25:16 -05:00
[PR #3513] [MERGED] policy data should be null not an empty object
#6936
Reference in New Issue
Block a user
📋 Pull Request Information
Original PR: https://github.com/dani-garcia/vaultwarden/pull/3513
Author: @stefan0xC
Created: 5/9/2023
Status: ✅ Merged
Merged: 5/9/2023
Merged by: @BlackDex
Base:
main← Head:fix-empty-policy📝 Commits (1)
4d5c047policy data should benullnot an empty object📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
src/api/core/organizations.rs(+1 -1)📄 Description
The web-vault will throw an error in the web console when editing new policies with an empty data field (like "Require two-step login", "Single organization", "Remove individual vault" and "Remove Send")

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.