trailsjs / sails-auth

Passport-based User Authentication system for sails.js applications. Designed to work well with the sails-permissions module.
https://www.npmjs.org/package/sails-auth
MIT License
266 stars 141 forks source link

How to redirect to a page if the login fails? #165

Open Simone-cogno opened 8 years ago

Simone-cogno commented 8 years ago

I was able to redirect if the login is successful. But if the login fails i got error 403 and I cannot redirect to a page.