From 5fe8c1f3d7c74a066f915f3b2d4526d5c7fa8c9c Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sat, 2 Apr 2022 16:44:49 +0200 Subject: [PATCH] policies: fix missing default for log_messages Signed-off-by: Jens Langhammer --- authentik/policies/types.py | 1 + 1 file changed, 1 insertion(+) diff --git a/authentik/policies/types.py b/authentik/policies/types.py index cac13e3c2..093ef9df3 100644 --- a/authentik/policies/types.py +++ b/authentik/policies/types.py @@ -75,6 +75,7 @@ class PolicyResult: self.messages = messages self.source_binding = None self.source_results = [] + self.log_messages = [] def __repr__(self): return self.__str__()