Skip to content

Commit d912beb

Browse files
johanlundbergc00kiemon5ter
authored andcommitted
Policy needs metadata store to lookup registration authority for a SP
1 parent d19febc commit d912beb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/saml2/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ def load_special(self, cnf, typ, metadata_construction=False):
270270

271271
def load_complex(self, cnf, typ="", metadata_construction=False):
272272
try:
273-
self.setattr(typ, "policy", Policy(cnf["policy"]))
273+
self.setattr(typ, "policy", Policy(cnf["policy"], config=self))
274274
except KeyError:
275275
pass
276276

0 commit comments

Comments
 (0)