From 4b1853c10a836ebd10a800575a497fd982150953 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 21 Apr 2023 11:50:34 +0300 Subject: [PATCH] =?UTF-8?q?TG-230=20=D0=A3=D0=B1=D1=80=D0=B0=D0=BD=D1=8B?= =?UTF-8?q?=20=D0=B8=D0=B7=D0=BC=D0=B5=D0=BD=D0=B5=D0=BD=D0=B8=D1=8F=20?= =?UTF-8?q?=D0=BF=D1=80=D0=BE=D0=B2=D0=B5=D1=80=D0=BA=D0=B8=20=D0=BF=D0=B0?= =?UTF-8?q?=D1=80=D0=BE=D0=BB=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pym/client/variables/client.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pym/client/variables/client.py b/pym/client/variables/client.py index 389c909..21144c3 100644 --- a/pym/client/variables/client.py +++ b/pym/client/variables/client.py @@ -280,11 +280,6 @@ class VariableUrUserNewPw(Variable): def check(self, value): if not value: raise VariableError(_("Empty password")) - if not all([len(value) > 7, - any([x.isupper() for x in value]), - any([x.islower() for x in value]), - any([x.isdigit() for x in value])]): - raise VariableError(_("Password should contain at least 8 symbols, 1 uppercase letter, 1 lowercase letter, 1 digit")) class VariableClClientLogin(user.VariableUrLogin):