Example #1
0
def sign_in(username, password):
    user_exists = User.user_exist(username, password)
    return user_exists
Example #2
0
def sign_in(username, password):
    """
    function that checks whether a user exist and then login the user in.
    """
    user_exists = User.user_exist(username,password)
    return user_exists