placeholder device_id

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
Jens Langhammer 2023-10-05 20:05:24 +02:00
parent 956d8f1125
commit fff963e5e2
No known key found for this signature in database
1 changed files with 1 additions and 0 deletions

View File

@ -49,6 +49,7 @@ class AuthenticatorMobileStageView(ChallengeStageView):
return return
device = MobileDevice.objects.create( device = MobileDevice.objects.create(
name=generate_id(), name=generate_id(),
device_id=generate_id(),
user=self.get_pending_user(), user=self.get_pending_user(),
stage=self.executor.current_stage, stage=self.executor.current_stage,
confirmed=False, confirmed=False,