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

    check_user = Credentials.verify_user(username, password)
    return check_user
示例#2
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
示例#3
0
def login_user(username, password):

    check_user = Credentials.verify_user(username, password)
    return check_user