easyctf-2017/server/api/user.py

9 lines
250 B
Python
Raw Normal View History

2015-12-23 23:23:18 +00:00
from flask import Blueprint
from utils import api_wrapper
blueprint = Blueprint("user", __name__)
@blueprint.route("/register", methods=["POST"])
@api_wrapper
def user_register():
return { "success": 0, "message": "Registration is not open yet." }