diff --git a/authentik/policies/expression/evaluator.py b/authentik/policies/expression/evaluator.py index bb04d1f15..bf1b2b209 100644 --- a/authentik/policies/expression/evaluator.py +++ b/authentik/policies/expression/evaluator.py @@ -87,7 +87,7 @@ class PolicyEvaluator(BaseEvaluator): LOGGER.warning( "Expression policy returned None", src=expression_source, - req=self._context, + policy=self._filename, ) policy_result.passing = False if result: