From ab47c0a882a941f48390201218761f3631ff0c13 Mon Sep 17 00:00:00 2001 From: Charlotte Van Petegem Date: Fri, 20 May 2022 19:32:59 +0200 Subject: [PATCH] Change HALDIS_ADMIN_USERS configuration key to the one actually used --- README.md | 2 +- app/config.example.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d5876d6..2ed7864 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ Afterwards upgrade the database to the latest version using cd app python3 app.py db upgrade -You can now still seed the database by running, note that you might want to put your name in the `HALDIS_ADMIN_USERS` in `app/config.py` +You can now still seed the database by running, note that you might want to put your name in the `HALDIS_ADMINS` in `app/config.py` ./populate-db.sh diff --git a/app/config.example.py b/app/config.example.py index daac1ab..2d02245 100644 --- a/app/config.example.py +++ b/app/config.example.py @@ -8,7 +8,7 @@ class Configuration: SQLALCHEMY_DATABASE_URI = "sqlite:///haldis.db" SQLALCHEMY_TRACK_MODIFICATIONS = False DEBUG = True - HALDIS_ADMIN_USERS = [] + HALDIS_ADMINS = [] SECRET_KEY = "" SLACK_WEBHOOK = None LOGFILE = "haldis.log"