Commit e33b01fc authored by Cédric Le Ninivin's avatar Cédric Le Ninivin

ERP5Site / ERP5Security: Update / Fix

parent d1c77b2f
......@@ -2159,7 +2159,7 @@ class ERP5Generator(PortalGenerator):
p.acl_users.erp5_jwt_extraction.manage_activateInterfaces(
('IExtractionPlugin',
'ICredentialsResetPlugin',
'ICredentialsUpdatePlugin,'))
'ICredentialsUpdatePlugin',))
def setupPermissions(self, p):
permission_dict = {
......
......@@ -89,7 +89,9 @@ class ERP5JSONWebTokenPlugin(BasePlugin):
)
def __init__(self, *args, **kw):
def __init__(self, id, title=None, *args, **kw):
self._setId(id)
self.title = title
self.manage_updateERP5JSONWebTokenPlugin()
self.manage_setERP5JSONWebTokenPluginExtpirationDelay(0)
......
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