saintedlama/passport-local-mongoose — pull request #64 by Neozaru (2014-12-13 22:09:40+00:00)
Title: Add custom callback in setPassword

Since fields validation are usually done at save time or when calling "register", it could be good to allow password validation at the same time.
The PR simply includes a passwordValidator option with a custom callback.