checker works

This commit is contained in:
Egor Matveev
2022-05-05 15:47:16 +03:00
parent 7028ac37b6
commit 5518c34636
25 changed files with 295 additions and 455 deletions

View File

@@ -20,7 +20,7 @@ class SendCodeView(BaseView):
"message": "Пользователя с таким именем не существует",
}
code = randrange(10000, 100000)
print(code)
print(f"Отправлен код для {username}", code)
user.userinfo.code = code
user.userinfo.save()
notify(user, "any", "Код для входа в сервис: " + str(code))