--- a/src/pyams_security/plugin/social.py Tue Jun 30 15:02:36 2015 +0200
+++ b/src/pyams_security/plugin/social.py Tue Jun 30 15:03:07 2015 +0200
@@ -20,7 +20,7 @@
from pyams_security.interfaces import ISocialUser, IPrincipalInfo, ISocialUsersFolderPlugin, ISecurityManager, \
IAuthenticatedPrincipalEvent, ISocialLoginConfiguration, ISocialLoginProviderInfo, ISocialLoginProviderConnection
from zope.annotation.interfaces import IAnnotations
-from zope.schema.interfaces import IVocabularyRegistry, IVocabularyFactory
+from zope.schema.interfaces import IVocabularyFactory
from zope.traversing.interfaces import ITraversable
# import packages
@@ -143,7 +143,7 @@
yield user
-@provider(IVocabularyRegistry)
+@provider(IVocabularyFactory)
class SocialUsersFolderVocabulary(SimpleVocabulary):
"""'PyAMS users folders' vocabulary"""