APP.GET('/', isLoggedIn, function(req, res) { if (isLoggedIn){res.render(index) else { res.render(index-authed)} });
how do i check what isLoggedIn returns? so i can handle flow like this?
No comments:
Post a Comment