TeskaLabs / seacat-auth

SeaCat Auth provides authentication, authorization, identity management, session management and other access control features.
GNU General Public License v3.0
11 stars 7 forks source link

Update modtime of active sessions #226

Closed byewokko closed 1 year ago

byewokko commented 1 year ago

fixes #222

The SessionService.touch() method updates session _m time even if the session is not modified in other ways. This is to record session activity. This update can happen at most once every one minute (by default). This period is configurable with the touch_cooldown option in the [seacatauth:session] section.

Example:

[seacatauth:session]
touch_cooldown=5m