CI4 Filter before method throw for page unauthorized |
(04-09-2020, 11:05 PM)jean5769 Wrote: Hello, I already try that in my filter. Its not working properly. It is sending the right code which is 401, but it also sent the body too. That code implement new different response, not the one that used and shared by the controller. I need to say again that this is Filter, not a controller, or response trait. |
Messages In This Thread |
CI4 Filter before method throw for page unauthorized - by 404NotFound - 04-09-2020, 06:53 PM
RE: CI4 Filter before method throw for page unauthorized - by jean5769 - 04-09-2020, 11:05 PM
RE: CI4 Filter before method throw for page unauthorized - by 404NotFound - 04-10-2020, 02:57 AM
RE: CI4 Filter before method throw for page unauthorized - by jean5769 - 04-10-2020, 05:23 AM
RE: CI4 Filter before method throw for page unauthorized - by kilishan - 04-10-2020, 07:04 AM
RE: CI4 Filter before method throw for page unauthorized - by 404NotFound - 04-10-2020, 08:37 AM
RE: CI4 Filter before method throw for page unauthorized - by kmp8072 - 12-15-2020, 07:56 AM
|