Skip to content

Commit

Permalink
fix(authentication) Closes erikras#251
Browse files Browse the repository at this point in the history
  • Loading branch information
bertho-zero committed May 4, 2017
1 parent 76e46c8 commit 53bac62
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -116,7 +116,7 @@
"express-session": "^1.15.1",
"feathers": "^2.0.3",
"feathers-authentication": "^1.0.2",
"feathers-authentication-client": "^0.1.10",
"feathers-authentication-client": "^0.3.2",
"feathers-authentication-jwt": "^0.3.1",
"feathers-authentication-local": "^0.3.3",
"feathers-authentication-oauth1": "^0.2.3",
Expand Down
2 changes: 1 addition & 1 deletion src/app.js
Expand Up @@ -29,7 +29,7 @@ export function createApp(req) {
const app = configureApp(rest(host('/api')).superagent(superagent, {
headers: {
Cookie: req.get('cookie'),
authorization: req.header('authorization')
authorization: req.header('authorization') || ''
}
}));

Expand Down

0 comments on commit 53bac62

Please sign in to comment.