Site icon Hip-Hop Website Design and Development

Hook into all password resets in WordPress and get password earlier than hashing?

I am syncing my WordPress authentication system with an secondary/exterior authentication system and my web site has no less than two methods of resetting the password, together with:

  1. Password reset electronic mail
  2. Consumer account display password reset

There could also be some third method I am not recalling, as I’ve disallowed password resets up to now resulting from my incapability to sync the techniques.

The crux of my query: How can I hook into the password reset previous to hashing in order that I can concurrently set the brand new password on the secondary/exterior authentication system?


Non-essential more information:

The 2 techniques utilizing completely different hashing mechanisms, so a post-hashing hook will not assist. I do know, it is inconvenient, but it surely’s what I’ve bought.

I can see methods to maybe do it on a per type/methodology foundation, however this is able to be actually depressing to keep up because the platform grows.