Skip to content

How can I block certain Sections? #690

Answered by datamweb
alfkoblischke asked this question in Q&A
Discussion options

You must be logged in to vote

Hello, please see:
https://codeigniter4.github.io/shield/install/#protect-all-pages

If you want to protect a specific route, you can do the following:

$routes->get('xxx', 'PayController::index', ['filter' => 'session']);

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@alfkoblischke
Comment options

Answer selected by datamweb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants