diff --git a/authentik/core/auth.py b/authentik/core/auth.py index 45c688b15..a4ede1387 100644 --- a/authentik/core/auth.py +++ b/authentik/core/auth.py @@ -49,6 +49,7 @@ class TokenBackend(InbuiltBackend): # difference between an existing and a nonexistent user (#20760). User().set_password(password) return None + # pylint: disable=no-member tokens = Token.filter_not_expired( user=user, key=password, intent=TokenIntents.INTENT_APP_PASSWORD )