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

Test mode #25

Open
noraj opened this issue Sep 25, 2017 · 2 comments
Open

Test mode #25

noraj opened this issue Sep 25, 2017 · 2 comments

Comments

@noraj
Copy link
Contributor

noraj commented Sep 25, 2017

Is there some default accounts to test the app? Like an admin account? Is that possible to disable recaptcha in test mode (I didn't see anything in config.py)?

@jamiees2
Copy link
Member

Yes, with ./ctftool users add-admin. I don't think so, but you could hide the code here https://github.com/IceCTF/ColdCore/blob/master/templates/users/register.html

and here:
https://github.com/IceCTF/ColdCore/blob/master/routes/users.py#L43

behind a flag

@noraj
Copy link
Contributor Author

noraj commented Sep 27, 2017

When logging in with admin is just created. I get the following error redis.exceptions.ConnectionError: Error 111 connecting to localhost:6379. Connection refused.. Why redis is trying to connect to a real database like in production if I am in dev mode, only dev.dn should be accessed.

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

2 participants