Removed some unreachable code from utils/forms.py
This commit is contained in:
		
					parent
					
						
							
								b67a12f01b
							
						
					
				
			
			
				commit
				
					
						a37464f8b3
					
				
			
		
					 1 changed files with 0 additions and 4 deletions
				
			
		|  | @ -50,8 +50,6 @@ class LoginFormMixin(forms.Form): | |||
|             return email | ||||
|         except CustomUser.DoesNotExist: | ||||
|             raise forms.ValidationError("User does not exist") | ||||
|         else: | ||||
|             return email | ||||
| 
 | ||||
| 
 | ||||
| class PasswordResetRequestForm(forms.Form): | ||||
|  | @ -67,8 +65,6 @@ class PasswordResetRequestForm(forms.Form): | |||
|             return email | ||||
|         except CustomUser.DoesNotExist: | ||||
|             raise forms.ValidationError("User does not exist") | ||||
|         else: | ||||
|             return email | ||||
| 
 | ||||
| 
 | ||||
| class SetPasswordForm(forms.Form): | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue