소스 검색

Disable registration with LDAP

Johannes 8 년 전
부모
커밋
9c2eecaebf
2개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      conf_ldap.json
  2. 3 0
      local_ldap.py

+ 1 - 1
conf_ldap.json

@@ -8,7 +8,7 @@
     "defaultLanguage": "en",
     "themes": ["taiga"],
     "defaultTheme": "taiga",
-    "publicRegisterEnabled": true,
+    "publicRegisterEnabled": false,
     "feedbackEnabled": true,
     "privacyPolicyUrl": null,
     "termsOfServiceUrl": null,

+ 3 - 0
local_ldap.py

@@ -1,4 +1,7 @@
 
+# overrides
+PUBLIC_REGISTER_ENABLED = False
+
 INSTALLED_APPS += ["taiga_contrib_ldap_auth"]
 
 LDAP_SERVER = "ldap://##LDAP_SERVER##"