claudioc / jingo

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

Unable to use the alone auth method on a recent installation of jingo. #36

Closed chris-l closed 10 years ago

chris-l commented 10 years ago

I have been using this wiki with no problems in the past. But then, I tried to upgrade it (to see if there was a newer version) and then I was unable to log in.

I tried to uninstall it and then reinstall it to no avail.

Using node-inspector, I found out that res.locals.user is always undefined.

Since I noticed that the version of jingo I had and the version I just installed are the same version, my best guess is that, while the jingo version was the same, one of the dependencies was upgraded. That is very likely, since jingo's package.json uses the * wildcard as the required version of several dependencies.

I tried to install jingo on a different pc to be 100% sure, and no, I can't install it there either.

claudioc commented 10 years ago

Hi,

yes, I noticed that problem too a couple of days ago. I am pretty sure is something to do with Passport. I will try to fix this asap!

Thank you for the report.

claudioc commented 10 years ago

There was an incompatibility with the most recent versions of Express 3.x (and connect). I had to froze the version of the latest working version in packages.json.

I need to move the code to Express 4 as soon as possible.

chris-l commented 10 years ago

I can log in again! Thanks!