1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-03-22 02:24:04 +00:00
tenancy/src/Features
lukinovec 0dc187510b
[4.x] Clean up expired impersonation tokens instead of just aborting, add command for cleaning up expired tokens (#1387)
This PR makes the expired/invalid tenant impersonation tokens get
deleted instead of just aborting with 403.

The PR also adds a command (ClearExpiredImpersonationTokens) used like
`php artisan tenants:purge-impersonation-tokens`. As the name suggests,
it clears all expired impersonation tokens (= tokens older than
`UserImpersonation::$ttl`).

Resolves #1348

---------

Co-authored-by: Samuel Štancl <samuel@archte.ch>
2025-10-28 14:14:52 +01:00
..
CrossDomainRedirect.php Features refactor 2025-08-31 23:18:44 +02:00
DisallowSqliteAttach.php Resolve misc todos, fix phpstan error 2025-10-20 01:57:02 +02:00
TelescopeTags.php Features refactor 2025-08-31 23:18:44 +02:00
TenantConfig.php Add TenantConfigBootstrapper, deprecate Feature implementation 2025-09-26 13:49:15 +02:00
UserImpersonation.php [4.x] Clean up expired impersonation tokens instead of just aborting, add command for cleaning up expired tokens (#1387) 2025-10-28 14:14:52 +01:00
ViteBundler.php Features refactor 2025-08-31 23:18:44 +02:00