Commit 6e539c06 authored by Kevin Deldycke's avatar Kevin Deldycke

Both ERP5Security and PluggableAuthService products must be present to use...

Both ERP5Security and PluggableAuthService products must be present to use PluggableAuthService in ERP5.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4286 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4c805aea
...@@ -842,6 +842,7 @@ class ERP5Generator(PortalGenerator): ...@@ -842,6 +842,7 @@ class ERP5Generator(PortalGenerator):
# We use if possible ERP5Security, then NuxUserGroups # We use if possible ERP5Security, then NuxUserGroups
try: try:
from Products import ERP5Security from Products import ERP5Security
from Products import PluggableAuthService
except ImportError: except ImportError:
ERP5Security = None ERP5Security = None
try: try:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment