Skip to content

warn: Action middleware (POLICY: passport) was bound to a target auth/* that doesn't match any registered actions. #169

@fyarepo

Description

@fyarepo

Hi,
Created brand new sails project and sails-auth-new --s and sails lift.
The warning messages are below. What can we do?
Regards
gab

======================================
debug: marlinspike (auth): loading Models...
debug: marlinspike (auth): loading Controllers...
debug: marlinspike (auth): loading Policies...
warn: Action middleware (POLICY: passport) was bound to a target auth/* that doesn't match any registered actions.

warn: Ignored attempt to bind route (/register) to unknown action :: { controller: 'UserController',
action: 'create',
skipAssets: true }
warn: Ignored attempt to bind route (/logout) to unknown action :: { controller: 'AuthController',
skipAssets: true,
action: 'logout' }
warn: Ignored attempt to bind route (/auth/local) to unknown action :: { controller: 'AuthController',
skipAssets: true,
action: 'callback' }
warn: Ignored attempt to bind route (/auth/local/:action) to unknown action :: { controller: 'AuthController',
skipAssets: true,
action: 'callback' }
warn: Ignored attempt to bind route (/auth/:provider) to unknown action :: { controller: 'AuthController',
skipAssets: true,
action: 'callback' }
warn: Ignored attempt to bind route (/auth/:provider) to unknown action :: { controller: 'AuthController',
skipAssets: true,
action: 'provider' }
warn: Ignored attempt to bind route (/auth/:provider/callback) to unknown action :: { controller: 'AuthController',
skipAssets: true,
action: 'callback' }
warn: Ignored attempt to bind route (/auth/:provider/:action) to unknown action :: { controller: 'AuthController',
skipAssets: true,
action: 'callback' }
warn: Ignored attempt to bind route (/auth/:provider/:action) to unknown action :: { controller: 'AuthController',
skipAssets: true,
action: 'callback' }

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