Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated to Hapi 6.0 #7

Merged
merged 3 commits into from Jun 12, 2014
Merged

Updated to Hapi 6.0 #7

merged 3 commits into from Jun 12, 2014

Conversation

@biant
Copy link

biant commented Jun 11, 2014

Closes #6

Bian added 2 commits Jun 11, 2014
Bian
@hueniverse hueniverse added this to the 1.1.0 milestone Jun 12, 2014
@@ -322,7 +323,8 @@ describe('Basic', function () {
path: '/noauth',
method: 'GET',
config: {
auth: true,
// auth: true,
auth: 'default',

This comment has been minimized.

Copy link
@hueniverse

hueniverse Jun 12, 2014

Member

Don't comment, remove.


expect(err).to.not.exist;
server.auth.strategy('default', 'basic', 'required', { validateFunc: loadUser });

server.route([
{ method: 'POST', path: '/basic', handler: basicHandler, config: { auth: true } },
// { method: 'POST', path: '/basic', handler: basicHandler, config: { auth: true } },

This comment has been minimized.

Copy link
@hueniverse

hueniverse Jun 12, 2014

Member

Don't comment, remove

@@ -1,7 +1,7 @@
{
"name": "hapi-auth-basic",
"description": "Basic authentication plugin",
"version": "1.0.2",
"version": "1.0.3",

This comment has been minimized.

Copy link
@hueniverse

hueniverse Jun 12, 2014

Member

Should be 1.1.0

Bian
hueniverse added a commit that referenced this pull request Jun 12, 2014
Updated to Hapi 6.0
@hueniverse hueniverse merged commit 4c923e6 into hapijs:master Jun 12, 2014
1 check passed
1 check passed
continuous-integration/travis-ci The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.