How to prevent user reuse the N-last passwords

How to prevent user reuse the N-last passwords ?

Hi,
See this topic: Password expiration and history

There is even an add-on released and available on the Marketplace.

Hi, I have setup the config Pswdpus.pswdHistoryLength (3) and pswdplus.usePswdHistory(True). But I change the password , It show success the reuse password. Is it missing any config ?