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