Skip to content
This repository has been archived by the owner on Apr 20, 2019. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Added missing ``` require ``` in the register
  • Loading branch information
zazapeta authored Jun 10, 2016
1 parent becb7ab commit 6ce0bfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ var getCredentials = function (id, callback) {
return callback(null, credentials[id]);
};

server.register('hapi-auth-hawk', function (err) {
server.register(require('hapi-auth-hawk'), function (err) {

server.auth.strategy('default', 'bewit', { getCredentialsFunc: getCredentials });
});
Expand Down

0 comments on commit 6ce0bfc

Please sign in to comment.