strongloop / loopback-example-access-control

An example demonstrating LoopBack access control mechanisms.
Other
370 stars 168 forks source link

Index.ejs not shown #69

Closed daslicht closed 8 years ago

daslicht commented 8 years ago

Hello, When I navigate to / I just get :

{
started: "2015-11-19T10:58:00.672Z",
uptime: 5.163
}

Any Idea why ?

I can open /projects without entering any credentials ?

Here is my code: https://github.com/daslicht/loopback-example-access-control

0candy commented 8 years ago

@daslicht You have to remove the /server/boot/root.js file

I can open /projects without entering any credentials ?

Because of this, it renders the projects.ejs file under views. router.get('/projects', function(req, res) { res.render('projects'); });

Please let me know if this answers your questions.

0candy commented 8 years ago

@daslicht Hope the above resolved your issue, I am closing this for now. If you are still having issues, please feel free to reopen.

daslicht commented 8 years ago

I haven't it again since then, thank you for the reply