blueprints: improve error handling in example flow

closes #4714

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
Jens Langhammer 2023-02-23 16:57:46 +01:00
parent 80f4fccd35
commit 36229f4224
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -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