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