fix auth utility set-up in psu
This commit is contained in:
parent
e01a7362f9
commit
c0fc7fd464
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ def setup(zope_conf=None, loopsRootPath=None, config=config):
|
|||
if conn is None:
|
||||
print(f'opening ZODB connection...')
|
||||
conn = db.open()
|
||||
auth.registerAuthUtility()
|
||||
auth.registerAuthUtility(config)
|
||||
root = conn.root()['Application']
|
||||
setSite(root)
|
||||
sm = component.getSiteManager(root)
|
||||
|
|
Loading…
Add table
Reference in a new issue