We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d0923f commit af82a56Copy full SHA for af82a56
oauth2_provider/views/mixins.py
@@ -51,10 +51,9 @@ def get_oauthlib_core_class(cls):
51
"""
52
Return the OAuthLibCore implementation class to use
53
54
- if cls.oauthlib_core_class is None:
+ if not hasattr(cls, 'oauthlib_core_class'):
55
return OAuthLibCore
56
- else:
57
- return cls.oauthlib_core_class
+ return cls.oauthlib_core_class
58
59
@classmethod
60
def get_server(cls):
0 commit comments