From 012f4c9152d9ab54fd24ed7478fbafe7693d048f Mon Sep 17 00:00:00 2001 From: Llloooggg Date: Sat, 14 Aug 2021 16:33:12 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B0=20=D0=BF=D1=80=D0=BE=D0=B2=D0=B5=D1=80=D0=BA?= =?UTF-8?q?=D0=B0=20=D0=B7=D0=B0=D0=BD=D1=8F=D1=82=D0=BE=D0=B3=D0=BE=20?= =?UTF-8?q?=D0=B8=D0=BC=D0=B5=D0=BD=D0=B8=20=D0=BF=D1=80=D0=B8=20=D1=80?= =?UTF-8?q?=D0=B5=D0=B3=D0=B8=D1=81=D1=82=D1=80=D0=B0=D1=86=D0=B8=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dyxless/auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dyxless/auth.py b/dyxless/auth.py index 19acda2..b659397 100644 --- a/dyxless/auth.py +++ b/dyxless/auth.py @@ -82,7 +82,7 @@ def signup(): ) return redirect(url_for("auth.signup")) - user = User.query.filter_by(email=username).first() + user = User.query.filter_by(username=username).first() if user: flash("Указанное имя уже используется", "is-danger")