blueprints: improve error handling in example flow
closes #4714 Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
parent
80f4fccd35
commit
36229f4224
|
@ -19,7 +19,7 @@ entries:
|
|||
model: authentik_policies_expression.expressionpolicy
|
||||
attrs:
|
||||
expression: |
|
||||
return context["auth_method"] != "app_password"
|
||||
return context.get("auth_method") != "app_password"
|
||||
- identifiers:
|
||||
name: default-authentication-login
|
||||
id: default-authentication-login
|
||||
|
|
Reference in New Issue