mirror of
https://github.com/capricornxl/ad-password-self-service.git
synced 2025-08-09 22:36:46 +08:00
修复一些BUG
将修改密码的代码逻辑做复用处理,简化代码。
This commit is contained in:
@@ -116,6 +116,10 @@ TEMPLATES = [
|
||||
|
||||
WSGI_APPLICATION = 'pwdselfservice.wsgi.application'
|
||||
|
||||
# 514 66050是AD中账号被禁用的特定代码,这个可以在微软官网查到。
|
||||
# 可能不是太准确,如果使用者能确定还有其它状态码,可以自行在此处添加
|
||||
AD_ACCOUNT_DISABLE_CODE = [514, 66050]
|
||||
|
||||
CACHES = {
|
||||
"default": {
|
||||
"BACKEND": "django_redis.cache.RedisCache",
|
||||
|
Reference in New Issue
Block a user