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