flows: change default flow stage binding settings (#4784)

* flows: change default flow stage binding settings

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* fallback to correct value

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

---------

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
Jens L
2023-02-27 15:21:26 +01:00
committed by GitHub
parent 99ddbf553c
commit 39d0893303
9 changed files with 50 additions and 38 deletions

View File

@ -9,7 +9,9 @@ Requires authentik 2022.7
:::
```python
plan = request.context["flow_plan"]
plan = request.context.get("flow_plan")
if not plan:
return False
plan.redirect("https://foo.bar")
return False
```