diff --git a/docker/web_service/config.py b/docker/web_service/config.py index 5d486ea..ef153e9 100644 --- a/docker/web_service/config.py +++ b/docker/web_service/config.py @@ -5,7 +5,7 @@ Settings for HBNet Web Server. # Database options # Using SQLite is simple and easiest. Comment out this line and uncomment the MySQL # line to use a MySQL/MariaDB server. -db_location = 'sqlite:////opt/hbnet_web/data/hbnet.sqlite' +db_location = 'sqlite:////opt/hbnet_web/hbnet.sqlite' # Uncomment and change this line to use a MySQL DB. It is best to start with a fresh # DB without data in it. @@ -42,6 +42,10 @@ time_format = '%H:%M:%S - %m/%d/%y' # the approval of an admin user before the user can login. default_account_state = True +# Allow users to generate and send SMS messages via the web service +# and API. +allow_user_sms = False + # Legacy passphrase used in hblink.cfg legacy_passphrase = 'passw0rd' diff --git a/docker/web_service/hbnet.sqlite b/docker/web_service/hbnet.sqlite index 6591317..a6377ec 100644 Binary files a/docker/web_service/hbnet.sqlite and b/docker/web_service/hbnet.sqlite differ diff --git a/web/docker/config.py b/web/docker/config.py index 5d486ea..ef153e9 100644 --- a/web/docker/config.py +++ b/web/docker/config.py @@ -5,7 +5,7 @@ Settings for HBNet Web Server. # Database options # Using SQLite is simple and easiest. Comment out this line and uncomment the MySQL # line to use a MySQL/MariaDB server. -db_location = 'sqlite:////opt/hbnet_web/data/hbnet.sqlite' +db_location = 'sqlite:////opt/hbnet_web/hbnet.sqlite' # Uncomment and change this line to use a MySQL DB. It is best to start with a fresh # DB without data in it. @@ -42,6 +42,10 @@ time_format = '%H:%M:%S - %m/%d/%y' # the approval of an admin user before the user can login. default_account_state = True +# Allow users to generate and send SMS messages via the web service +# and API. +allow_user_sms = False + # Legacy passphrase used in hblink.cfg legacy_passphrase = 'passw0rd' diff --git a/web/docker/hbnet.sqlite b/web/docker/hbnet.sqlite index 6591317..a6377ec 100644 Binary files a/web/docker/hbnet.sqlite and b/web/docker/hbnet.sqlite differ