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

support try mode #109

Merged
merged 1 commit into from
Oct 13, 2015
Merged

support try mode #109

merged 1 commit into from
Oct 13, 2015

Conversation

phated
Copy link
Contributor

@phated phated commented Oct 12, 2015

As per https://github.com/hapijs/hapi/blob/master/API.md#route-options, the "try" auth mode should act the same as optional.

I switched the check to !== 'required' because there are only 3 supported options.

@nelsonic
Copy link
Member

Thanks @phated that's a sensible change. 👍

@nelsonic nelsonic self-assigned this Oct 13, 2015
nelsonic added a commit that referenced this pull request Oct 13, 2015
@nelsonic nelsonic merged commit 923b326 into dwyl:master Oct 13, 2015
@nelsonic
Copy link
Member

@phated latest version 5.1.1 on NPM includes your update. thanks & welcome to dwyl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants