strongloop/loopback-passport — pull request #3 by fabien (2014-06-08 17:19:16+00:00)
Title: Fix passport-local

Correctly handle form POST credentials. Also, return the passport instance from init() in case the app needs this later.

Here's a basic provider config:
```
{
"local-login": {
"provider": "local",
"module": "passport-local",
"authPath": "/auth/local",
"successRedirect": "/",
"failureRedirect": "/",
"session": true
}
}
```