Skip to content

Does not authenticate to the database #10

Description

@ebaratte

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions