authentication_policy: do not depend on immediate reindex
Instead of forcing immediate reindex of password reset event, we can create the document with a given activity tag, then if we find activities with this tag, we can assume password reset was just created. authentication_policy already uses this pattern for Login_notifyLoginFailure and Login_isLoginBlocked
Showing
Please register or sign in to comment