claudioc / jingo

Node.js based Wiki
MIT License
1.02k stars 184 forks source link

Added local authentication method. #78

Closed vschoettke closed 9 years ago

vschoettke commented 9 years ago

I needed a intranet installation that allowed login of different users (to track who changed what) so I added a "local" authentication method which is essentially the same as as alone but with an array of accounts.

Maybe this is useful for others too.

(This is the corrected pull request branch. See #76)

claudioc commented 9 years ago

Thank you! I will merge this

claudioc commented 9 years ago

Merged. Please take also a look at this commit: https://github.com/claudioc/jingo/commit/afc8b4e9c0bedaf1767c92b210e16a09695160ba

I guess I spotted a bug you didn't see (in routes/auth.js)