If I'm using local authentication and POST to /auth/local?action=login I get an 'Invalid action' error as per line 212 of passport.js which does not accept 'login' as a valid parameter. However, as per the sails-auth code, I need to specify 'login' for the action if I want to redirect users back to the login page after unsuccessful authentication. It seems that there is an incompatibility there, no?
If I'm using local authentication and POST to /auth/local?action=login I get an 'Invalid action' error as per line 212 of passport.js which does not accept 'login' as a valid parameter. However, as per the sails-auth code, I need to specify 'login' for the action if I want to redirect users back to the login page after unsuccessful authentication. It seems that there is an incompatibility there, no?