-
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.
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.
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