Exemple #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
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