Skip to content

Support CTFd site password #152

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

Closed
TheNewJavaman opened this issue Aug 17, 2024 · 2 comments
Closed

Support CTFd site password #152

TheNewJavaman opened this issue Aug 17, 2024 · 2 comments

Comments

@TheNewJavaman
Copy link

TheNewJavaman commented Aug 17, 2024

Installing a challenge to a CTFd instance with a site password returns a HTTP 401 error.

Temporary fix

Edit site_password cookie in .ctf/config

[config]
url = https://my-instance.ctfd.io
access_token = ctfd_mytoken

[cookies]
site_password = my_site_password

[challenges]

Proposed solution

Add field site_password

[config]
url = https://my-instance.ctfd.io
access_token = ctfd_mytoken
site_password = my_site_password

[challenges]

I forked and am working on the proposed solution

@pl4nty
Copy link
Contributor

pl4nty commented Aug 17, 2024

The cookies section is deliberately separate #111

@ColdHeat
Copy link
Member

I think the current solution is acceptable until the config file is entirely restructured.

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

No branches or pull requests

3 participants