chore: Fix Linter issue with validate_silent_authorization(). (#23577)

This commit is contained in:
Bernd Oliver Sünderhauf 2023-12-04 08:08:08 +01:00 committed by GitHub
parent cefd275b17
commit 3fbae38a8d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -395,9 +395,9 @@ class OAuthWebRequestValidator(RequestValidator):
- OpenIDConnectHybrid
"""
if request.prompt == "login":
False
return False
else:
True
return True
def validate_silent_login(self, request):
"""Ensure session user has authorized silent OpenID login.