This commit is contained in:
2022-05-03 22:34:52 +03:00
parent 1663f94b0e
commit 8958be3141
54 changed files with 1569 additions and 1014 deletions

View File

@@ -20,7 +20,7 @@ def login(username: str, password: str) -> bool:
password,
app.config['SECRET_KEY']
),
models.User.disabled == False
models.User.disabled == False # noqa E712
).first()
if user is None:
raise ValueError