Temporarily disable captcha

This commit is contained in:
James Wang 2016-01-03 04:02:56 +00:00
parent e4392cf94e
commit 3e760af950

View file

@ -13,8 +13,8 @@ blueprint = Blueprint("user", __name__)
@blueprint.route("/register", methods=["POST"])
@api_wrapper
def user_register():
if not validate_captcha(request.form):
return { "success": 0, "message": "Please do the captcha." }
# if not validate_captcha(request.form):
# return { "success": 0, "message": "Please do the captcha." }
name = request.form["name"]
username = request.form["username"]