Coverage for app/venv/lib/python3.14/site-packages/weblate/auth/migrations/0006_group_enforced_2fa.py: 100%
4 statements
« prev ^ index » next coverage.py v7.15.2, created at 2026-10-07 07:15 +0000
« prev ^ index » next coverage.py v7.15.2, created at 2026-10-07 07:15 +0000
1# Copyright © Michal Čihař <michal@weblate.org>
2#
3# SPDX-License-Identifier: GPL-3.0-or-later
5# Generated by Django 5.0.7 on 2024-08-05 14:06
7from django.db import migrations, models
10class Migration(migrations.Migration):
11 dependencies = [
12 ("weblate_auth", "0005_invitation_full_name_invitation_username"),
13 ]
15 operations = [
16 migrations.AddField(
17 model_name="group",
18 name="enforced_2fa",
19 field=models.BooleanField(
20 default=False,
21 help_text="Requires users to have two-factor authentication configured.",
22 verbose_name="Enforced two-factor authentication",
23 ),
24 ),
25 ]