Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

$auth.validateUser() for different user types #350

Open
lchangdev opened this issue Mar 8, 2017 · 0 comments
Open

$auth.validateUser() for different user types #350

lchangdev opened this issue Mar 8, 2017 · 0 comments

Comments

@lchangdev
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant