Skip to content
Snippets Groups Projects
Commit 5d9ace58 authored by kaiyou's avatar kaiyou
Browse files

Remove unused captcha views

parent 2bd24eb2
No related branches found
No related tags found
1 merge request!20Add 'remember me' button
......@@ -32,14 +32,13 @@ def create_app_from_config(config):
return dict(config=app.config, utils=utils)
# Import views
from hiboo import account, user, profile, service, application, sso, captcha, api
from hiboo import account, user, profile, service, application, sso, 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(application.blueprint, url_prefix='/application')
app.register_blueprint(sso.blueprint, url_prefix='/sso')
app.register_blueprint(captcha.blueprint, url_prefix='/captcha')
app.register_blueprint(api.blueprint, url_prefix='/api')
# Enable global CLI
......
# TODO: remove profile_regex
# This allows to avoid passing the service object anywhere, and manipulate
# the service config dictionary instead
import flask
......
import flask
blueprint = flask.Blueprint("captcha", __name__, template_folder="templates")
from hiboo.captcha import views
{% extends "form.html" %}
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