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

Does not authenticate to the database #10

Open
ebaratte opened this issue Nov 22, 2013 · 0 comments
Open

Does not authenticate to the database #10

ebaratte opened this issue Nov 22, 2013 · 0 comments

Comments

@ebaratte
Copy link

If the database to profile does not allow unauthenticated requests, every command will fail (and professor will return a 500 error without explanation)

I guess we should add a line in util.py, for the connect_to method:

def connect_to(database, username, password):
    # [...]
    conndb = conn[database['dbname']]
    conndb.authenticate(username, password)
    return conndb
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

1 participant