easyctf-2017/server/api/user.py
2015-12-23 17:23:18 -06:00

9 lines
No EOL
250 B
Python

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." }