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:
- Password reset electronic mail
- 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:
- Consumer resets password when utilizing password reset electronic mail, not auto-generated
- Consumer account display is just not the WordPress dashboard, however a plugin implementation
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.