then-purpleT
Refine3y ago
7 replies
then-purple

accessControl with casbin. Skip login page if it is user

I'm storing a role in localStorage. If it is user, skip and dont allow them to access login page. If you're admin, can go to login
Was this page helpful?