hapijs / nes

WebSocket adapter plugin for hapi routes
Other
502 stars 87 forks source link

Update README authentication example #246

Closed p16 closed 6 years ago

p16 commented 6 years ago

Hi, in the example on the README there was an extra parameter ('required') when showing how to register the [hapi-auth-basic] plugin.

Leaving that parameter there would result in an error (AssertionError [ERR_ASSERTION]: options must be an object).

mtharrison commented 6 years ago

Awesome, thanks!

lock[bot] commented 4 years ago

This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions.