First version of the interface #1

Merged
alexandre merged 10 commits from base into master 2021-11-29 05:41:53 +01:00
Showing only changes of commit aea0844a59 - Show all commits

View File

@@ -1,9 +1,13 @@
from flask import Flask, render_template
from flask import Flask
from . import reset
def create_app():
app = Flask(__name__, instance_relative_config=True, template_folder="ui/templates", static_folder="ui/static")
app.config.from_object("instance.config.DebugConfig")
#app.config.from_object("instance.config.DebugConfig")
app.config.from_envvar("LDAP_ADDR")
app.config.from_envvar("LDAP_PORT")
app.config.from_envvar("LDAP_TLS")
app.config.from_envvar("BASE_DN")
app.register_blueprint(reset.bp)