mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	register: Fix period at end of heading.
This commit is contained in:
		@@ -1549,7 +1549,7 @@ class RealmCreationTest(ZulipTestCase):
 | 
				
			|||||||
            # Create new realm with the email, but no creation key.
 | 
					            # Create new realm with the email, but no creation key.
 | 
				
			||||||
            result = self.client_post('/new/', {'email': email})
 | 
					            result = self.client_post('/new/', {'email': email})
 | 
				
			||||||
            self.assertEqual(result.status_code, 200)
 | 
					            self.assertEqual(result.status_code, 200)
 | 
				
			||||||
            self.assert_in_response('New organization creation disabled.', result)
 | 
					            self.assert_in_response('New organization creation disabled', result)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    @override_settings(OPEN_REALM_CREATION=True)
 | 
					    @override_settings(OPEN_REALM_CREATION=True)
 | 
				
			||||||
    def test_create_realm_with_subdomain(self) -> None:
 | 
					    def test_create_realm_with_subdomain(self) -> None:
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -382,7 +382,7 @@ def create_realm(request: HttpRequest, creation_key: Optional[str]=None) -> Http
 | 
				
			|||||||
    if not settings.OPEN_REALM_CREATION:
 | 
					    if not settings.OPEN_REALM_CREATION:
 | 
				
			||||||
        if key_record is None:
 | 
					        if key_record is None:
 | 
				
			||||||
            return render(request, "zerver/realm_creation_failed.html",
 | 
					            return render(request, "zerver/realm_creation_failed.html",
 | 
				
			||||||
                          context={'message': _('New organization creation disabled.')})
 | 
					                          context={'message': _('New organization creation disabled')})
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    # When settings.OPEN_REALM_CREATION is enabled, anyone can create a new realm,
 | 
					    # When settings.OPEN_REALM_CREATION is enabled, anyone can create a new realm,
 | 
				
			||||||
    # subject to a few restrictions on their email address.
 | 
					    # subject to a few restrictions on their email address.
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user