python/dna/apy/auth.py
def check_credentials(username, password):
    ''' Verify basic http authentification '''
    user = models.User.objects(
        username=username,
        password=password
    ).first()
    return user or None
def check_credentials(username, password):
    ''' Verify basic http authentification '''
    user = models.User.objects(
        username=username,
        password=password
    ).first()
    return user or None
Verify basic http authentification