Open slinker009 opened 9 years ago
I also encountered the same problem.
mac 10.10.2 (14C109) chrome 42.0.2311.135 (64-bit)
After registering and login operation ,this error is reported.
Also encountered the problem. Does anyone know a solution in the meantime?
+1
Same problem.
me too ...
mee too
any fix?
Hi,my english is a little. I Install and run the code, I register a new user and send messages, but when I logout and try to login again with the username and password the app show error 500
Unknown authentication strategy "local"
error: Sending 500 ("Server Error") response: Error: Unknown authentication strategy "local" at attempt (c:\nodejs\sailng\node_modules\passport\lib\middleware\authentica te.js:166:37) at authenticate (c:\nodejs\sailng\node_modules\passport\lib\middleware\authe nticate.js:342:7) at Authenticator.passport.callback (c:\nodejs\sailng\api\services\passport.j s:250:40) at Authenticator.bound as callback at Object.AuthController.callback (c:\nodejs\sailng\api\controllers\AuthCont roller.js:121:14) at bound (c:\nodejs\sailng\node_modules\sails\node_modules\lodash\dist\lodas h.js:729:21) at routeTargetFnWrapper (c:\nodejs\sailng\node_modules\sails\lib\router\bind .js:179:5) at callbacks (c:\nodejs\sailng\node_modules\sails\node_modules\express\lib\r outer\index.js:164:37) at param (c:\nodejs\sailng\node_modules\sails\node_modules\express\lib\route r\index.js:138:11) at pass (c:\nodejs\sailng\node_modules\sails\node_modules\express\lib\router \index.js:145:5) at nextRoute (c:\nodejs\sailng\node_modules\sails\node_modules\express\lib\r outer\index.js:100:7) at callbacks (c:\nodejs\sailng\node_modules\sails\node_modules\express\lib\r outer\index.js:167:11) at c:\nodejs\sailng\node_modules\sails\lib\router\bind.js:187:7 at c:\nodejs\sailng\api\policies\passport.js:32:7 at SessionStrategy.strategy.pass (c:\nodejs\sailng\node_modules\passport\lib \middleware\authenticate.js:318:9) at SessionStrategy.authenticate (c:\nodejs\sailng\node_modules\passport\lib\ strategies\session.js:67:10) [Error: Unknown authentication strategy "local"]
I use Windows 8 and Firefox 36.0.4 for this test