Commit e9dd9889 authored by Jérome Perrin's avatar Jérome Perrin

authentication_policy: drop a useless .activate()

parent 814b8cff
...@@ -26,7 +26,7 @@ kw = {'portal_type': 'Authentication Event', ...@@ -26,7 +26,7 @@ kw = {'portal_type': 'Authentication Event',
authentication_event_list = [x.getObject() for x in portal.portal_catalog(**kw)] authentication_event_list = [x.getObject() for x in portal.portal_catalog(**kw)]
for authentication_event in authentication_event_list: for authentication_event in authentication_event_list:
authentication_event.activate().acknowledge(comment='User account unblocked.') authentication_event.acknowledge(comment='User account unblocked.')
if not batch_mode: if not batch_mode:
message = context.Base_translateString('User Login unblocked.') message = context.Base_translateString('User Login unblocked.')
......
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