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

Documentation update #48

Merged
merged 1 commit into from Apr 16, 2016
Merged

Documentation update #48

merged 1 commit into from Apr 16, 2016

Conversation

@cvillerm
Copy link
Contributor

cvillerm commented Mar 24, 2016

If took me some time to figure out that if a value is passed to the err parameter of the validation function callback, this would replace the default Boom.unauthorized error. My simple text error message was always returned as such with an HTTP OK status.

The proposed README update should hopefully help and clarify it

@mtharrison mtharrison merged commit fc5eff2 into hapijs:master Apr 16, 2016
1 check passed
1 check passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@mtharrison mtharrison self-assigned this Apr 16, 2016
@mtharrison mtharrison added this to the 4.2.0 milestone May 19, 2016
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.