You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
I am working with
devise-token-auth
along withng-token-auth
. I haveusers
andadmins
and have certain pages where I want to validateadmins
only however when i run$auth.validateUser()
all users successfully get validated. Is there a way to validate different types of users?The text was updated successfully, but these errors were encountered: