Commit 814b8cff authored by Jérome Perrin's avatar Jérome Perrin

authentication_policy: fix automatic credential recovery

fix NameError introduced in a97402d3
parent 4e961a54
......@@ -28,8 +28,7 @@ credential_recovery = module.newContent(
portal_type="Credential Recovery",
reference=context.getReference(),
destination_decision_value=context,
language=portal.Localizer.get_selected_language(),
activate_kw={'tag': tag})
language=portal.Localizer.get_selected_language())
# immediate reindex allowed because it is a new object
credential_recovery.immediateReindexObject()
context.serialize()
......
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