mirror of
				https://github.com/zulip/zulip.git
				synced 2025-10-31 12:03:46 +00:00 
			
		
		
		
	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>
		
			
				
	
	
		
			7 lines
		
	
	
		
			170 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			7 lines
		
	
	
		
			170 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| # Copyright: (c) 2008, Jarek Zgoda <jarek.zgoda@gmail.com>
 | |
| 
 | |
| __revision__ = '$Id: settings.py 12 2008-11-23 19:38:52Z jarek.zgoda $'
 | |
| 
 | |
| STATUS_ACTIVE = 1
 | |
| STATUS_REVOKED = 2
 |