Skip to content

Commit 9917ae5

Browse files
committed
Merge pull request #13 from ganiserb/patch-1
Add kwargs to backend's authenticate method so that multiple auth backends can be used at the same time
2 parents 1fcdada + e215716 commit 9917ae5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

djangosaml2/backends.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def get_saml_user_model():
6767
class Saml2Backend(ModelBackend):
6868

6969
def authenticate(self, session_info=None, attribute_mapping=None,
70-
create_unknown_user=True):
70+
create_unknown_user=True, **kwargs):
7171
if session_info is None or attribute_mapping is None:
7272
logger.error('Session info or attribute mapping are None')
7373
return None

0 commit comments

Comments
 (0)