]> git.aero2k.de Git - tmp/jakarta-migration.git/commit
Fix last login time updated too frequently, and delete expired oauth tokens on login...
authorRay Lee <ray.lee@lyrasis.org>
Thu, 7 Mar 2024 04:56:33 +0000 (23:56 -0500)
committerRay Lee <ray.lee@lyrasis.org>
Thu, 7 Mar 2024 04:56:33 +0000 (23:56 -0500)
commit125b5b8eb14f20d2c8206007bcc8613555f95c21
tree71e05214d793ef0425db84cfbee77c8c10aff8a7
parentd7814126df24bacd593bbf8bf93e86583be9d1e7
Fix last login time updated too frequently, and delete expired oauth tokens on login success.

The last login time was being updated when an authorization success event was triggered from a JWT token, which is now basically every request. A JWT token indicates a continuing session, not what a user would consider a log in event.
services/authentication/service/src/main/java/org/collectionspace/authentication/CSpaceAuthenticationSuccessEvent.java