-
Notifications
You must be signed in to change notification settings - Fork 143
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
PHP Version
8.2.16
CodeIgniter4 Version
4.5.4
Shield Version
1.1.0
Which operating systems have you tested for this bug?
Windows
Which server did you use?
apache
Database
MariaDB 10.6.11
Did you customize Shield?
Added Shield oAuth
What happened?
When logging in, last_active is not set in the database when filter is configured 'chain' => ['except' => ['login*', 'auth/a/*', 'oauth/*', 'logout']],. When configured 'session' => ['except' => ['login*', 'auth/a/*', 'oauth/*', 'logout']], it works, but for my specific use case I need chain as I'm using both session and access token for different purposes.
Steps to Reproduce
Configure Filters.php file with e.g.,
public $globals = [
'before' => [
// ...
'chain' => ['except' => ['login*', 'register', 'auth/a/*', 'logout']],
],
// ...
];Expected Output
last_active to be set in the database.
Anything else?
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working