# Generated by Django 4.2.7 on 2023-12-14 10:46

from django.db import migrations, models


class Migration(migrations.Migration):
    dependencies = [
        ("authentik_stages_user_login", "0005_userloginstage_remember_me_offset"),
    ]

    operations = [
        migrations.AddField(
            model_name="userloginstage",
            name="geoip_binding",
            field=models.TextField(
                choices=[
                    ("no_binding", "No Binding"),
                    ("bind_continent", "Bind Continent"),
                    ("bind_continent_country", "Bind Continent Country"),
                    ("bind_continent_country_city", "Bind Continent Country City"),
                ],
                default="no_binding",
                help_text="Bind sessions created by this stage to the configured GeoIP location",
            ),
        ),
        migrations.AddField(
            model_name="userloginstage",
            name="network_binding",
            field=models.TextField(
                choices=[
                    ("no_binding", "No Binding"),
                    ("bind_asn", "Bind Asn"),
                    ("bind_asn_network", "Bind Asn Network"),
                    ("bind_asn_network_ip", "Bind Asn Network Ip"),
                ],
                default="no_binding",
                help_text="Bind sessions created by this stage to the configured network",
            ),
        ),
    ]
