From 1318214a8bd01f12a6b5faf73548fb1cdd510873 Mon Sep 17 00:00:00 2001 From: fram3d Date: Wed, 21 Jun 2023 00:40:51 +0200 Subject: [PATCH] change default config values and path --- luser/config.ini | 1 + luser/routes.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/luser/config.ini b/luser/config.ini index 00fa585..1084b0d 100644 --- a/luser/config.ini +++ b/luser/config.ini @@ -4,4 +4,5 @@ LDAPADMINNAME = cn=admin,dc=example,dc=org LDAPPASS = verysecr3t USERBASE = ou=Users,dc=example,dc=org CAPTCHA_PATH = /var/luser/luser/static/account/register/captcha_img/ +ALTUSERBASE = # ALTUSERBASE = ou=UsersAlt,dc=example,dc=org diff --git a/luser/routes.py b/luser/routes.py index 7bb9d85..b980cab 100644 --- a/luser/routes.py +++ b/luser/routes.py @@ -8,7 +8,7 @@ import base64 import os import configparser -CONFIG_PATH = "./config.ini" +CONFIG_PATH = "/var/luser/luser/config.ini" config = configparser.ConfigParser() config.read(CONFIG_PATH)