From 59a51c859affed6988dad0aeafd13665c97596bc Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Tue, 14 Dec 2021 10:09:35 +0100 Subject: [PATCH] stages/authenticator_webauthn: add migration Signed-off-by: Jens Langhammer --- ...enticatewebauthnstage_user_verification.py | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 authentik/stages/authenticator_webauthn/migrations/0005_authenticatewebauthnstage_user_verification.py diff --git a/authentik/stages/authenticator_webauthn/migrations/0005_authenticatewebauthnstage_user_verification.py b/authentik/stages/authenticator_webauthn/migrations/0005_authenticatewebauthnstage_user_verification.py new file mode 100644 index 000000000..91dea868b --- /dev/null +++ b/authentik/stages/authenticator_webauthn/migrations/0005_authenticatewebauthnstage_user_verification.py @@ -0,0 +1,25 @@ +# Generated by Django 4.0 on 2021-12-14 09:05 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ("authentik_stages_authenticator_webauthn", "0004_auto_20210304_1850"), + ] + + operations = [ + migrations.AddField( + model_name="authenticatewebauthnstage", + name="user_verification", + field=models.TextField( + choices=[ + ("UserVerificationRequirement.REQUIRED", "Required"), + ("UserVerificationRequirement.PREFERRED", "Preferred"), + ("UserVerificationRequirement.DISCOURAGED", "Discouraged"), + ], + default="UserVerificationRequirement.PREFERRED", + ), + ), + ]