mirror of
https://github.com/zulip/zulip.git
synced 2025-10-27 01:53:59 +00:00
invitations: Revoke remaining invitations after user registers.
If a user receives more than one invite to join a realm, after that user registers, all the remaining invitations should be revoked, preventing them to be listed in active invitations on admin panel. To do this, we added a new prereg_user status, STATUS_REVOKED. We also added a confirmation_link_expired_error page in case the user tries click on a revoked invitaion. This page has a link to login page. Fixes: #12629 Co-authored-by: Arunika <arunikayadav42@gmail.com>
This commit is contained in:
committed by
Tim Abbott
parent
923c5e3063
commit
edcf4f0ea2
@@ -3,3 +3,4 @@
|
||||
__revision__ = '$Id: settings.py 12 2008-11-23 19:38:52Z jarek.zgoda $'
|
||||
|
||||
STATUS_ACTIVE = 1
|
||||
STATUS_REVOKED = 2
|
||||
|
||||
Reference in New Issue
Block a user