outmoded / lout

API documentation generator
Other
276 stars 49 forks source link

Docs don't display properly when setting lout to not require auth, on a server that has default auth mode set to required. #41

Closed toboid closed 10 years ago

toboid commented 10 years ago

If the hapi server object is configured passing a value of true or 'required' to server.auth.strategy, then it is not possible to configure lout to not require authentication - the documentation pages do not display correctly.

This is because when lout registers it's 2 routes, it does not pass the auth setting to the css route.