From e38aa6e4016a8dcb411e99711806ec33f786e6bd 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 9d91abdf5..3e729e5ec 100644 --- a/authentik/events/middleware.py +++ b/authentik/events/middleware.py @@ -30,7 +30,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 = ( @@ -56,6 +56,7 @@ IGNORED_MODELS = ( SCIMGroup, Reputation, MobileTransaction, + MobileDeviceToken, )