change default config values and path
This commit is contained in:
		| @@ -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 | ||||
|   | ||||
| @@ -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) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user