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