Skip to content

action=login error #151

@initialized-soul

Description

@initialized-soul

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions