关于修复Bug-490

Bug490-ChenQiuwei
陈秋伟 2022-12-10 09:44:21 +08:00
parent 270f6159b2
commit 1fd7155b7b
1 changed files with 2 additions and 1 deletions

View File

@ -32,7 +32,8 @@ def signup():
return str(warn)
available = check_username_availability(username)
verified_2 = verify_passverified(password, password2)
verified_2 = verify_passverified(password, password2) # 比较“密码”与“确认密码”
if not available: # 用户名不可用
flash('用户名 %s 已经被注册。' % (username))
return render_template('signup.html')