Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set "Bypass admin page security" as read-only #2918

Merged
merged 1 commit into from
Nov 27, 2022

Conversation

BlackDex
Copy link
Collaborator

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.json file.

Fixes #2761

It was possible to disable the admin security via the admin interface.
This is kinda insecure as mentioned in dani-garcia#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.json` file.

Fixes dani-garcia#2761
@dani-garcia dani-garcia merged commit 5200f0e into dani-garcia:main Nov 27, 2022
@BlackDex BlackDex deleted the issue-2761 branch November 27, 2022 22:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"Bypass admin page security" should not be overrideable by admin-page
2 participants