Пример #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(username, password):
    """
    function that checks if the user exist and login the user
    """

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