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

Policies missing #104

Open duncanmapes opened 8 years ago

duncanmapes commented 8 years ago

I am trying to set this up and I am getting an error on startup

verbose: Loading policy modules from app...
error: Unknown policy, "basicauth", referenced in `config.policies`.
error: Are you sure that policy exists?

Do I need to manually copy those policies into my code? I thought they should be hooked in, but maybe the docs are wrong?

ehsankhf commented 8 years ago

See:

https://github.com/tjwebb/sails-permissions/issues/126