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

ignore state when syncing deployed challenge #132

Merged
merged 1 commit into from
Sep 4, 2023
Merged

ignore state when syncing deployed challenge #132

merged 1 commit into from
Sep 4, 2023

Conversation

MilyMilo
Copy link
Contributor

When a challenge service is deployed, it will sync the challenge automatically (to include connection_info) and also possibly make a previously hidden challenge (e.g. created with --hidden or just hidden in the admin panel manually) visible (because it does not define state in challenge.yml).

I think it's best to always leave the state as-is with the deployment because the sync happens automatically - the user might be unaware that the challenge he or she made hidden has now been made visible.

@ColdHeat ColdHeat merged commit 3c78ec4 into CTFd:master Sep 4, 2023
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.

2 participants