Переработана и протестирована регистрация

This commit is contained in:
2020-03-15 14:42:32 +03:00
parent 5ffd4e9a7e
commit 3ed9925fd3
2 changed files with 2 additions and 2 deletions

View File

@@ -22,8 +22,6 @@ def register():
userLogin = request.form['UserLogin']
userPassw = request.form['UserPassw']
db_routing.add_user(userLogin, passw_hash(userPassw))
else:
print('Логин занят')
return render_template('registration.html')