tarlepp / angular-sailsjs-boilerplate

'Boilerplate' for AngularJS + Sails.js
MIT License
307 stars 87 forks source link

Authenticated policy doesn't check if token is valid. #88

Open Tenkir opened 8 years ago

Tenkir commented 8 years ago

All the authentication policy does it check to see if a token exists and is formatted correctly, it never checks if it's valid.

PR: https://github.com/tarlepp/angular-sailsjs-boilerplate/pull/89

tarlepp commented 8 years ago

Actually policy verifies the token BUT it doesn't verify that user that token contains really exists. And for later issues + PR combos mark PR within Fixes #ISSUENRO in this way GitHub closes these issues automatic. More info about this here.