From 106202912286b4b98ede620a83ae1dd89d42d225 Mon Sep 17 00:00:00 2001 From: Frederick Yin Date: Wed, 27 Oct 2021 22:03:56 +0800 Subject: Register new users --- jimbrella/web.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'jimbrella/web.py') diff --git a/jimbrella/web.py b/jimbrella/web.py index f9bc586..9db37ef 100644 --- a/jimbrella/web.py +++ b/jimbrella/web.py @@ -1,9 +1,12 @@ from flask import Flask from .admin import bp as admin_bp +from .auth import bp as auth_bp from .config import * app = Flask("jimbrella") +app.secret_key = FLASK_SECRET_KEY app.register_blueprint(admin_bp) +app.register_blueprint(auth_bp) if __name__ == "__main__": app.run() -- cgit v1.2.3