Hello, I think it would be beneficial to prevent a user from setting their new password to something they previously used (ie check some kind of password history). From what I can find in docs, this is not possible. Even if the user goes through the account recovery flow, the ory settings API accepts the current password instead of requiring something different.
In our case, we have an invite flow where we generate and email a temporary password to the user. Then, we force them to change it after first login by sending them to our custom ory settings UI where they enter a new password. The settings api, however, accepts the current/original password instead of requiring something different.