mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	Make send_registration_completion_email return the Confirmation object.
This commit is contained in:
		@@ -718,8 +718,8 @@ def send_registration_completion_email(email, request, realm_creation=False):
 | 
			
		||||
    prereg_user = create_preregistration_user(email, request, realm_creation)
 | 
			
		||||
    context = {'support_email': settings.ZULIP_ADMINISTRATOR,
 | 
			
		||||
               'voyager': settings.VOYAGER}
 | 
			
		||||
    Confirmation.objects.send_confirmation(prereg_user, email,
 | 
			
		||||
                                           additional_context=context)
 | 
			
		||||
    return Confirmation.objects.send_confirmation(prereg_user, email,
 | 
			
		||||
                                                  additional_context=context)
 | 
			
		||||
 | 
			
		||||
"""
 | 
			
		||||
When settings.OPEN_REALM_CREATION is enabled public users can create new realm. For creating the realm the user should
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user