Compare commits
No commits in common. "a2550e4bff70e882c8c1318278ec44e83c0c1f7c" and "fd8f5fc1d36c16e652a03286ef575428dd7143aa" have entirely different histories.
a2550e4bff
...
fd8f5fc1d3
|
@ -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',
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue