From 1e81490c939c83047cb20ccf42ad0ee41f26d9cf Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Mon, 18 Dec 2023 13:19:25 +0100 Subject: [PATCH] don't log mobiledevicetoken Signed-off-by: Jens Langhammer --- authentik/events/middleware.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/authentik/events/middleware.py b/authentik/events/middleware.py index eb2bdc19a..fb2916e61 100644 --- a/authentik/events/middleware.py +++ b/authentik/events/middleware.py @@ -31,7 +31,7 @@ from authentik.policies.models import Policy, PolicyBindingModel from authentik.policies.reputation.models import Reputation from authentik.providers.oauth2.models import AccessToken, AuthorizationCode, RefreshToken from authentik.providers.scim.models import SCIMGroup, SCIMUser -from authentik.stages.authenticator_mobile.models import MobileTransaction +from authentik.stages.authenticator_mobile.models import MobileDeviceToken, MobileTransaction from authentik.stages.authenticator_static.models import StaticToken IGNORED_MODELS = ( @@ -58,6 +58,7 @@ IGNORED_MODELS = ( Reputation, ConnectionToken, MobileTransaction, + MobileDeviceToken, )