NestJS - Authentication
You want to customize the username field to 'email' in your LocalStrategy. How should you modify the constructor?
usernameField to specify the username input field.usernameField: 'email' tells the strategy to use 'email' instead of 'username'.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions