diff --git a/authentik/stages/authenticator_mobile/stage.py b/authentik/stages/authenticator_mobile/stage.py index b5d7039e0..86be1f52b 100644 --- a/authentik/stages/authenticator_mobile/stage.py +++ b/authentik/stages/authenticator_mobile/stage.py @@ -49,6 +49,7 @@ class AuthenticatorMobileStageView(ChallengeStageView): return device = MobileDevice.objects.create( name=generate_id(), + device_id=generate_id(), user=self.get_pending_user(), stage=self.executor.current_stage, confirmed=False,