mirror of
https://github.com/capricornxl/ad-password-self-service.git
synced 2025-11-12 13:06:09 +08:00
修复utils目录自定义模块中的处理逻辑return结果不正确,导致Django无法正常在前台显示结果的BUG
This commit is contained in:
@@ -2,8 +2,12 @@ from ldap3 import *
|
||||
from ldap3.core.exceptions import LDAPInvalidCredentialsResult, LDAPOperationResult
|
||||
from ldap3.core.results import *
|
||||
from ldap3.utils.dn import safe_dn
|
||||
|
||||
from pwdselfservice.local_settings import *
|
||||
import os
|
||||
APP_ENV = os.getenv('APP_ENV')
|
||||
if APP_ENV == 'dev':
|
||||
from conf.local_settings_dev import *
|
||||
else:
|
||||
from conf.local_settings import *
|
||||
|
||||
"""
|
||||
根据以下网站的说明:
|
||||
|
||||
Reference in New Issue
Block a user