DEV Community

Discussion on: Authentication and Sessions for MVC Apps with NestJS

Collapse
 
stephen_scholtz profile image
Stephen Scholtz

Excellent article, John! It's very carefully written and covers a lot of stuff. I have a question about the input Passport's local strategy accepts. It seems the JSON from a user has to be with keys "username" and "password". Is there a way to accept an "email" field instead of a "username" field?