How to restrict user route #961
Unanswered
Junkwarior23
asked this question in
Q&A
Replies: 1 comment 5 replies
-
A normal user (have user group) can login without any problem. If user tries to access admin/... for example http://localhost:8080/admin/data, user will encounter the following message on "/". Also, I don't see the need to use "/". -$routes->get('/data', 'Admin::identities');
+$routes->get('data', 'Admin::identities'); Probably I definitely did not understand your question correctly, sorry. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
hi, i try to use
Code:
but it make my user cant login and only admin and super admin can login. how to make my user cant acces my admin controller
this is my route without that function
Beta Was this translation helpful? Give feedback.
All reactions