-
Hello, Im working with shield for user management, I want to show 'last_active' but is always null. In auth config I enable:
|
Beta Was this translation helpful? Give feedback.
Answered by
datamweb
Feb 22, 2023
Replies: 1 comment 1 reply
-
Hello, welcome to Shield. I guess you have not done the necessary settings to protect the routes. https://codeigniter4.github.io/shield/references/controller_filters/#protect-all-pages |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
jnar
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, welcome to Shield.
I guess you have not done the necessary settings to protect the routes.
The function of
last_active
depends on the setting of session/tokens/chain filter even whenpublic bool $recordActiveDate = true;
is set.So I expect you to do the following explanation and check again.
https://codeigniter4.github.io/shield/references/controller_filters/#protect-all-pages