fix creation of group folder
git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@3900 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
parent
d014f5bead
commit
a8c46b6fc8
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ def getGroupsFolder(context=None, name='gloops', create=False):
|
||||||
gf = getPrincipalFolder(authPluginId=name, ignoreErrors=True)
|
gf = getPrincipalFolder(authPluginId=name, ignoreErrors=True)
|
||||||
if gf is None and create:
|
if gf is None and create:
|
||||||
pau = component.getUtility(IAuthentication, context=context)
|
pau = component.getUtility(IAuthentication, context=context)
|
||||||
gf = pau[name] = Groupfolder(name + '.')
|
gf = pau[name] = GroupFolder(name + '.')
|
||||||
pau.authenticatorPlugins = tuple(
|
pau.authenticatorPlugins = tuple(
|
||||||
list(pau.authenticatorPlugins) + ['name'])
|
list(pau.authenticatorPlugins) + ['name'])
|
||||||
return gf
|
return gf
|
||||||
|
|
Loading…
Add table
Reference in a new issue