stages/authenticator_webauthn: fix migrations for different choices
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
4b2437a6f1
commit
5854833240
|
@ -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",
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
]
|
]
|
||||||
|
|
Reference in New Issue