Compare commits

..

No commits in common. "a2550e4bff70e882c8c1318278ec44e83c0c1f7c" and "fd8f5fc1d36c16e652a03286ef575428dd7143aa" have entirely different histories.

2 changed files with 7 additions and 1 deletions

View File

@ -228,6 +228,12 @@ LDAP_DEFAULT_START_UID = config(
if config('ENABLE_DEBUG_LOG', cast=bool, default=False):
loggers_dict = {}
LOGGING['handlers']['file'] = {
'level': 'DEBUG',
'class': 'logging.FileHandler',
'filename': os.path.join(BASE_DIR, 'debug.log'),
}
MODULES_TO_LOG = config('MODULES_TO_LOG', 'django')
LOGGING['handlers']['file'] = {
'level': 'DEBUG',

View File

@ -44,7 +44,7 @@ def create_user(user, password, firstname, lastname, email):
w[0].cn = firstname + " " + lastname
w[0].mail = email
w[0].userPassword = password
w[0].gidNumber = settings.LDAP_IPV6_WORK_USER_GROUP
w[0].gidNumber = settings.IPV6_WORK_USER_GROUP
w[0].uidNumber = uidNumber
w[0].homeDirectory = "/home/" + user