This commit is contained in:
pstruebi
2022-06-15 21:34:53 +02:00
parent 9ce252236e
commit 7115f93810
2 changed files with 2 additions and 4 deletions

3
.gitignore vendored
View File

@@ -160,4 +160,5 @@ cython_debug/
#.idea/
# Database and venv
users.db
venv_planner
venv_planner
.deployment

3
app.py
View File

@@ -21,9 +21,6 @@ app.teardown_appcontext(db.close_db)
app.cli.add_command(db.init_db_command)
app.register_blueprint(auth.bp)
# first time start up msal token acquire for test purposes (raises if not successful)
if not (app.config["DEBUG"] or app.config["TESTING"]):
calendar_interface.get_access_token()
@app.route('/')
@auth.login_required