I'm new to Sails, therefore I'm having silly problems. Excuse my ignorance.I want to separete my site into two different sections; main content and admin panel. I need additional verification before entering admin CP, so I want to use different sessions for those two sections. How do I do that? The best idea would be to use different secret for admin routes. But how do I change that? How do I modify session secret based on the route I'm in?
Wulf Sölter | CTO |