flows: denied action (#3194)
This commit is contained in:
26
authentik/flows/migrations/0023_flow_denied_action.py
Normal file
26
authentik/flows/migrations/0023_flow_denied_action.py
Normal file
@ -0,0 +1,26 @@
|
||||
# Generated by Django 4.0.5 on 2022-07-02 12:42
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("authentik_flows", "0022_flow_layout"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name="flow",
|
||||
name="denied_action",
|
||||
field=models.TextField(
|
||||
choices=[
|
||||
("message_continue", "Message Continue"),
|
||||
("message", "Message"),
|
||||
("continue", "Continue"),
|
||||
],
|
||||
default="message_continue",
|
||||
help_text="Configure what should happen when a flow denies access to a user.",
|
||||
),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user