Skip to content

Commit

Permalink
Updated dev dependencies for Hapi v17
Browse files Browse the repository at this point in the history
  • Loading branch information
Y-LyN-10 committed Nov 27, 2017
1 parent c67c665 commit 8c4b863
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/index.js
Expand Up @@ -110,7 +110,7 @@ internals.connectionInfo = function (server, routes, options, connectionInfo) {
const route = routes[i];

const defaultStrategy = Hoek.reach(server, 'auth.settings.default.strategies');
let authStrategy = typeof route.settings.auth === 'object' ? route.settings.auth.strategies.toString() : false;
let authStrategy = route.settings.auth ? route.settings.auth.strategies.toString() : false;

if (route.settings.auth === undefined) {
authStrategy = defaultStrategy ? String(defaultStrategy) : false;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -25,7 +25,7 @@
"devDependencies": {
"code": "^5.1.2",
"hapi": "^17.0.1",
"hapi-auth-basic": "4.2.x",
"hapi-auth-basic": "^5.0.0",
"lab": "^15.1.2"
}
}

0 comments on commit 8c4b863

Please sign in to comment.