Skip to content
Snippets Groups Projects
Commit 8c629244 authored by kaiyou's avatar kaiyou
Browse files

Add the captcha blueprint

parent 333b3b05
No related branches found
No related tags found
No related merge requests found
......@@ -32,12 +32,13 @@ def create_app_from_config(config):
return dict(config=app.config, utils=utils)
# Import views
from hiboo import account, user, profile, service, sso, api
from hiboo import account, user, profile, service, sso, captcha, api
app.register_blueprint(account.blueprint, url_prefix='/account')
app.register_blueprint(user.blueprint, url_prefix='/user')
app.register_blueprint(profile.blueprint, url_prefix='/profile')
app.register_blueprint(service.blueprint, url_prefix='/service')
app.register_blueprint(sso.blueprint, url_prefix='/sso')
app.register_blueprint(captcha.blueprint, url_prefix='/captcha')
app.register_blueprint(api.blueprint, url_prefix='/api')
@app.route("/")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment