diff --git a/app/account_service.py b/app/account_service.py index cfab6e8..9b1c46b 100644 --- a/app/account_service.py +++ b/app/account_service.py @@ -27,7 +27,6 @@ def signup(): return str(warn) available = check_username_availability(username) - if not available: # 用户名不可用 flash('用户名 %s 已经被注册。' % (username)) return render_template('signup.html')