automatically purge stale invitations #1973

Closed
opened 2026-04-06 02:45:41 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @stefan0xC on 10/4/2022

Fixes part of #2792 by automatically deleting invited users that have not registered before the expiration date.

INVITATION_EXPIRATION_HOURS defaults to 120 (5 days) because that was the default expiration date of the Invite JWT. When set to 0 the expiration date is not checked.

Also no invitation is deleted when mail is disabled.

*Originally created by @stefan0xC on 10/4/2022* Fixes part of #2792 by automatically deleting invited users that have not registered before the expiration date. `INVITATION_EXPIRATION_HOURS` defaults to 120 (5 days) because that was the default expiration date of the Invite JWT. When set to 0 the expiration date is not checked. Also no invitation is deleted when mail is disabled.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/vaultwarden#1973