mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 13:03:29 +00:00
cleanup: Fix comment in SocialAuthMixin.auth_complete.
This commit is contained in:
@@ -251,7 +251,7 @@ class SocialAuthMixin(ZulipAuthMixin):
|
||||
to the login page.
|
||||
"""
|
||||
try:
|
||||
# Call the auth_complete method of BaseOAuth2 is Python Social Auth
|
||||
# Call the auth_complete method of social_core.backends.oauth.BaseOAuth2
|
||||
return super(SocialAuthMixin, self).auth_complete(*args, **kwargs) # type: ignore # monkey-patching
|
||||
except AuthFailed:
|
||||
return None
|
||||
|
||||
Reference in New Issue
Block a user