예제 #1
0
def login_user(user_name, password):
    '''
    Function to see if user exist and allow them to login
    '''

    check_user_exist = Credentials.check_user_exist(user_name, password)
    return check_user_exist
예제 #2
0
def login_user(user_name, password):

    #function that checks whether a user exist and then login the user in.

    check_user_exist = Credentials.check_user_exist(user_name, password)
    return check_user_exist