angular-sailsjs-boilerplate
angular-sailsjs-boilerplate copied to clipboard
Authenticated policy doesn't check if token is valid.
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
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.