Exemple #1
0
def login_user(username, password):
    """
    function that checks whether a user exist and then login the user 
    """

    check_user = Credentials.verify_user(username, password)
    return check_user
Exemple #2
0
def login_user(username, password):

    check_user = Credentials.verify_user(username, password)
    return check_user
Exemple #3
0
def login_user(password, username):
    '''
    a fumction that checks if the users already exist 
    '''
    checked_user = Credentials.verify_user(password, username)
    return checked_user