auth_override_class_method_http not working with HMVC |
Hi I have a config setting like below:
Code: $config['auth_override_class_method_http']['admin']['auth']['post'] = 'none'; I am using this library for my HMVC: https://bitbucket.org/wiredesignz/codeig...sions-hmvc But when I checked with error handling on REST_Controller.php it seems like /admin/auth is not recognised with REST here is my REST code: Code: <?php Although all of my GET/POST requests are working fine as it should be on the endpoint. Could anyone suggest what I should do in order to get it working i.e., I want to use authentication on several API request but not on admin/auth [POST]
You would need to also make the rest controller use HMVC.
What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
|
Welcome Guest, Not a member yet? Register Sign In |