Closed mattdeluco closed 8 years ago
Allows for multiple local strategies.
In my case, I've created one username/password strategy, and one username/email token strategy (passwordless).
Coverage remained the same at 97.619% when pulling 705d87785abd3f2cbde8eb042acaf91e154903d5 on mattdeluco:master into c5a349b1fce71c51d66f78f8fc3e3861444b9a04 on jaredhanson:master.
This can be done when useing it in Passport.js:
use
passport.use('local-something', new LocalStrategy(...));
Allows for multiple local strategies.
In my case, I've created one username/password strategy, and one username/email token strategy (passwordless).