mirror of
				https://github.com/zulip/zulip.git
				synced 2025-10-31 03:53:50 +00:00 
			
		
		
		
	forms: Call superclass clean method for CaptchaRealmCreationForm.
Ensures that the form fields set in the superclass are validated.
This commit is contained in:
		
				
					committed by
					
						 Tim Abbott
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							7185f2c236
						
					
				
				
					commit
					f55c89a87f
				
			| @@ -389,6 +389,7 @@ class CaptchaRealmCreationForm(RealmCreationForm): | ||||
|  | ||||
|     @override | ||||
|     def clean(self) -> None: | ||||
|         super().clean() | ||||
|         if not self.data.get("captcha"): | ||||
|             self.add_error("captcha", _("Validation failed, please try again.")) | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user