Does passportjs LocalStrategy allow more parameters than the default username and password?
问题 I'm new to javascript, node,and passportjs. Sorry if this is incorrect. I'd like to use 3 parameters in my passport local strategy: username, email, password . Is it possible? If so how? According to passportjs: "By default, LocalStrategy expects to find credentials in parameters named username and password. If your site prefers to name these fields differently, options are available to change the defaults." But can i add more paramaters? I tried this: passport.use('local-signup', new