This commit is contained in:
戒酒的李白
2024-07-03 20:45:40 +08:00
3 changed files with 63 additions and 35 deletions
-2
View File
@@ -36,8 +36,6 @@ def register():
if request.method == 'GET':
return render_template('register.html')
else:
if request.form['password'] != request.form['checkPassword']:
return errorResponse('两次密码不符合')
def filter_fn(user):
return request.form['username'] in user