Skip to content

Commit 5724de6

Browse files
author
Florent
committed
Ensures kwargs compatibility with ident.find_nameid method.
1 parent a91f2df commit 5724de6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/saml2/mongo_store.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,8 @@ def store(self, ident, name_id):
153153
self.mdb.store(ident, name_id=to_dict(name_id, ONTS.values(), True))
154154

155155
def find_nameid(self, userid, nformat=None, sp_name_qualifier=None,
156-
name_qualifier=None, sp_provided_id=None):
156+
name_qualifier=None, sp_provided_id=None, **kwargs):
157+
# reset passed for compatibility kwargs for next usage
157158
kwargs = {}
158159
if nformat:
159160
kwargs["name_format"] = nformat

0 commit comments

Comments
 (0)