Skip to content

Commit

Permalink
Fixes #120
Browse files Browse the repository at this point in the history
  • Loading branch information
Claudio Cicali committed Dec 14, 2015
1 parent 47e5e11 commit cabe9b4
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
10 changes: 10 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
Version 1.5.2, December 14th, 2015
=================================

- Fixes an authentication bug on 1.5.1 (#120)

Version 1.5.1, December 12th, 2015
=================================

DO NOT USE THIS VERSION

Version 1.5.0, December 12th, 2015
=================================

Expand Down
2 changes: 1 addition & 1 deletion jingo
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ var program = require('commander'),

global.Git = require('./lib/gitmech');

program.version('1.5.1')
program.version('1.5.2')
.option('-c, --config <path>', 'Specify the config file')
.option('-#, --hash-string <string>', 'Create an hash for a string')
.option('-l, --local', 'Listen on localhost only')
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jingo",
"version": "1.5.1",
"version": "1.5.2",
"description": "A nodejs based wiki engine",
"author": "Claudio Cicali <claudio.cicali@gmail.com>",
"keywords": [
Expand Down
2 changes: 0 additions & 2 deletions routes/auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,6 @@ function _getAuthDone(req, res) {
return;
}

res.locals.user.email = 'jingouser';

if (!auth.alone.used &&
!auth.local.used &&
!tools.isAuthorized(res.locals.user.email,
Expand Down

0 comments on commit cabe9b4

Please sign in to comment.