# Generated by Django 5.0.6 on 2024-06-03 15:18

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ("authentik_stages_captcha", "0002_captchastage_api_url_captchastage_js_url_and_more"),
    ]

    operations = [
        migrations.AddField(
            model_name="captchastage",
            name="error_on_invalid_score",
            field=models.BooleanField(
                default=True,
                help_text="When enabled and the received captcha score is outside of the given threshold, the stage will show an error message. When not enabled, the flow will continue, but the data from the captcha will be available in the context for policy decisions",
            ),
        ),
        migrations.AddField(
            model_name="captchastage",
            name="score_max_threshold",
            field=models.FloatField(default=1.0),
        ),
        migrations.AddField(
            model_name="captchastage",
            name="score_min_threshold",
            field=models.FloatField(default=0.5),
        ),
    ]
