stages/authenticator_webauthn: fix migrations for different choices

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-12-14 11:06:46 +01:00
parent 4b2437a6f1
commit 5854833240
1 changed files with 4 additions and 4 deletions

View File

@ -15,11 +15,11 @@ class Migration(migrations.Migration):
name="user_verification", name="user_verification",
field=models.TextField( field=models.TextField(
choices=[ choices=[
("UserVerificationRequirement.REQUIRED", "Required"), ("required", "Required"),
("UserVerificationRequirement.PREFERRED", "Preferred"), ("preferred", "Preferred"),
("UserVerificationRequirement.DISCOURAGED", "Discouraged"), ("discouraged", "Discouraged"),
], ],
default="UserVerificationRequirement.PREFERRED", default="preferred",
), ),
), ),
] ]