Skip to content

Test mode #25

Open
Open

Description

@noraj

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)?

Activity

  1. jamiees2 commented on Sep 26, 2017

    @jamiees2
    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

  2. noraj commented on Sep 27, 2017

    @noraj
    ContributorAuthor

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions