How to prevent user to login to /admin #4606
Unanswered
mad-coder-365
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I am first time using payload cms.
I have users table with roles (admin | user). I want to prevent "user" to log in or access any page inside /admin.
How do we allow only "admin" to log in?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions