diff --git a/app/account_service.py b/app/account_service.py index 4de84ee..1717889 100644 --- a/app/account_service.py +++ b/app/account_service.py @@ -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')