Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Customize the redirect if not logged in
Post: RE: Customize the redirect if not logged in

Hi, change the redirects in auth.php config: PHP Code: -- auth.php:     /**     * --------------------------------------------------------------------     * Redirect URLs     * ------------...
1,690 Views
1 Replies
04-03-2023, 10:29 AM
[email protected]
    Thread: Protect whole controller with one route?
Post: RE: Protect whole controller with one route?

kenjis Wrote: (03-23-2023, 04:07 PM) -- 1. Use grouping. See https://codeigniter4.github.io/CodeIgniter4/incoming/routing.html#grouping-routes 2. Use $filters config. See https://codeigniter4.github...
2,936 Views
3 Replies
03-24-2023, 10:41 AM
[email protected]
    Thread: Protect whole controller with one route?
Post: Protect whole controller with one route?

Hi, I started to use CodeIgniter Shield and I'm wondering if its possible to protec the whole controller with a single route. for example, the user-controller should only be accessed by admin users,...
2,936 Views
3 Replies
03-23-2023, 02:28 PM
[email protected]
    Thread: Retrieve deleted records
Post: RE: Retrieve deleted records

Finally found it: I have to use the method "onlyDeleted"...
438 Views
1 Replies
02-23-2023, 06:48 AM
[email protected]
    Thread: Retrieve deleted records
Post: Retrieve deleted records

Hi guys, I'm using soft delete for my models, and now I want to display a list of deleted records to the user. I thought this should be straight forward, but I'm stuck. The idea was, just to select...
438 Views
1 Replies
02-23-2023, 06:41 AM
[email protected]

Theme © iAndrew 2016 - Forum software by © MyBB