change default config values and path
This commit is contained in:
parent
8f1aaeb417
commit
1318214a8b
@ -4,4 +4,5 @@ LDAPADMINNAME = cn=admin,dc=example,dc=org
|
|||||||
LDAPPASS = verysecr3t
|
LDAPPASS = verysecr3t
|
||||||
USERBASE = ou=Users,dc=example,dc=org
|
USERBASE = ou=Users,dc=example,dc=org
|
||||||
CAPTCHA_PATH = /var/luser/luser/static/account/register/captcha_img/
|
CAPTCHA_PATH = /var/luser/luser/static/account/register/captcha_img/
|
||||||
|
ALTUSERBASE =
|
||||||
# ALTUSERBASE = ou=UsersAlt,dc=example,dc=org
|
# ALTUSERBASE = ou=UsersAlt,dc=example,dc=org
|
||||||
|
@ -8,7 +8,7 @@ import base64
|
|||||||
import os
|
import os
|
||||||
import configparser
|
import configparser
|
||||||
|
|
||||||
CONFIG_PATH = "./config.ini"
|
CONFIG_PATH = "/var/luser/luser/config.ini"
|
||||||
|
|
||||||
config = configparser.ConfigParser()
|
config = configparser.ConfigParser()
|
||||||
config.read(CONFIG_PATH)
|
config.read(CONFIG_PATH)
|
||||||
|
Loading…
Reference in New Issue
Block a user