Commit 070c8f94 authored by Aurel's avatar Aurel

authentication : reindex immediately

Person_isPasswordExpired cache the wrong result if document is not in catalog
parent 66fc5731
......@@ -66,6 +66,9 @@ if number_of_last_password_to_check is not None and number_of_last_password_to_c
destination_value = person,\n
password = current_password)\n
password_event.confirm()\n
# Person_isPasswordExpired cache the wrong result if document is not in catalog.\n
# As the document is created in the same transaction, it is possible to force reindexation\n
password_event.immediateReindexObject()\n
</string> </value>
</item>
<item>
......
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