backends: make sub parameter non optional in authenticate()
This commit is contained in:
parent
313824142a
commit
2b99011027
|
@ -12,7 +12,7 @@ logger = logging.getLogger(__name__)
|
|||
|
||||
|
||||
class FcBackend(ModelBackend):
|
||||
def authenticate(self, sub=None, **kwargs):
|
||||
def authenticate(self, sub, **kwargs):
|
||||
user_info = kwargs.get('user_info')
|
||||
user = None
|
||||
try:
|
||||
|
|
Reference in New Issue