Jabbslad / basic-auth

Add HTTP Basic Auth support to your Meteor application
31 stars 6 forks source link

target all children of a parent route #11

Open desmillicious opened 9 years ago

desmillicious commented 9 years ago

Hi there slightly newb question but is it possible to protect all children pages of a parent route that uses a collection eg:

basicAuth.protect(['/parent/*']);

(this obviously doesn't work)