change default config values and path

This commit is contained in:
fram3d 2023-06-21 00:40:51 +02:00
parent 8f1aaeb417
commit 1318214a8b
Signed by: fram3d
GPG Key ID: 938920E709EEA32A
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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)