Skip to content

Commit

Permalink
Updating NPM packages and refactoring as required for the update
Browse files Browse the repository at this point in the history
  • Loading branch information
snowyfox committed Sep 21, 2017
1 parent c46d0d6 commit 09bf265
Show file tree
Hide file tree
Showing 8 changed files with 5,130 additions and 4,950 deletions.
9 changes: 9 additions & 0 deletions .idea/Naranawm.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 0 additions & 8 deletions .idea/jsLibraryMappings.xml

This file was deleted.

8 changes: 1 addition & 7 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

856 changes: 346 additions & 510 deletions .idea/workspace.xml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const models = require('./models/index');
const crypto = require('crypto');
const userDatabase = config.databases.forum;

jwtOptions.jwtFromRequest = ExtractJwt.fromAuthHeader();
jwtOptions.jwtFromRequest = ExtractJwt.fromAuthHeaderAsBearerToken();
jwtOptions.secretOrKey = config.jwtKey;
jwtOptions.issuer = 'naranawm.org';

Expand Down
Loading

0 comments on commit 09bf265

Please sign in to comment.