Heslo už nevedeme, tedy proč ho kontrolovat…
This commit is contained in:
		
							parent
							
								
									f682af8e8f
								
							
						
					
					
						commit
						1526cfd0cc
					
				
					 1 changed files with 0 additions and 2 deletions
				
			
		|  | @ -119,8 +119,6 @@ class PrihlaskaForm(PasswordResetForm): | |||
| 		err_logger = logging.getLogger('seminar.prihlaska.problem') | ||||
| 
 | ||||
| 		data = self.cleaned_data | ||||
| 		if data.get('password') != data.get('password_check'): | ||||
| 			self.add_error('password_check',forms.ValidationError('Hesla se neshodují')) | ||||
| 		if data.get('stat') != '' and data.get('stat_text') != '': | ||||
| 			self.add_error('stat',forms.ValidationError('Nelze mít vybraný stát z menu a zároven zapsaný textem')) | ||||
| 		if data.get('skola') and (data.get('skola_nazev') or data.get('skola_adresa')): | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 Jonas Havelka
						Jonas Havelka