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",
field=models.TextField(
choices=[
("UserVerificationRequirement.REQUIRED", "Required"),
("UserVerificationRequirement.PREFERRED", "Preferred"),
("UserVerificationRequirement.DISCOURAGED", "Discouraged"),
("required", "Required"),
("preferred", "Preferred"),
("discouraged", "Discouraged"),
],
default="UserVerificationRequirement.PREFERRED",
default="preferred",
),
),
]