mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-03-12 01:45:56 -05:00
[PR #2918] [MERGED] Set "Bypass admin page security" as read-only #6824
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/2918
Author: @BlackDex
Created: 11/14/2022
Status: ✅ Merged
Merged: 11/27/2022
Merged by: @dani-garcia
Base:
main← Head:issue-2761📝 Commits (1)
b141f78Set "Bypass admin page security" as read-only📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
src/config.rs(+1 -1)📄 Description
It was possible to disable the admin security via the admin interface. This is kinda insecure as mentioned in #2761.
This PR set this value as read-only and admin's need to set the correct ENV variable. Currently saved settings which do override this are still valid though. If an admin want's this removed, they either need to reset the config, or change the value in the
config.jsonfile.Fixes #2761
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.