# Generated by Django 3.0.5 on 2020-04-16 13:41

from django.db import migrations, models


class Migration(migrations.Migration):
    dependencies = [
        ("authentik_stages_authenticator_static", "0008_initial"),
    ]

    operations = [
        migrations.AddField(
            model_name="staticdevice",
            name="throttling_failure_count",
            field=models.PositiveIntegerField(
                default=0, help_text="Number of successive failed attempts."
            ),
        ),
        migrations.AddField(
            model_name="staticdevice",
            name="throttling_failure_timestamp",
            field=models.DateTimeField(
                blank=True,
                default=None,
                help_text="A timestamp of the last failed verification attempt. Null if last attempt succeeded.",
                null=True,
            ),
        ),
        migrations.AlterModelOptions(
            name="staticdevice",
            options={"verbose_name": "Static device", "verbose_name_plural": "Static devices"},
        ),
        migrations.AlterModelOptions(
            name="staticdevice",
            options={"verbose_name": "Static Device", "verbose_name_plural": "Static Devices"},
        ),
        migrations.AlterModelOptions(
            name="statictoken",
            options={"verbose_name": "Static Token", "verbose_name_plural": "Static Tokens"},
        ),
        migrations.AlterModelOptions(
            name="authenticatorstaticstage",
            options={
                "verbose_name": "Static Authenticator Setup Stage",
                "verbose_name_plural": "Static Authenticator Setup Stages",
            },
        ),
    ]
