ng-token-auth icon indicating copy to clipboard operation
ng-token-auth copied to clipboard

$auth.validateUser() for different user types

Open lchangdev opened this issue 7 years ago • 0 comments

I am working with devise-token-auth along with ng-token-auth. I have users and admins and have certain pages where I want to validate admins only however when i run $auth.validateUser() all users successfully get validated. Is there a way to validate different types of users?

lchangdev avatar Mar 08 '17 00:03 lchangdev