From 1526cfd0cc95d2fe999b8ae97034157acfe005f8 Mon Sep 17 00:00:00 2001 From: Jonas Havelka Date: Sun, 5 Sep 2021 20:58:38 +0200 Subject: [PATCH] =?UTF-8?q?Heslo=20u=C5=BE=20nevedeme,=20tedy=20pro=C4=8D?= =?UTF-8?q?=20ho=20kontrolovat=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- seminar/forms.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/seminar/forms.py b/seminar/forms.py index 7e988df4..966ed54c 100644 --- a/seminar/forms.py +++ b/seminar/forms.py @@ -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')):