Browse Source

Disable registration with LDAP

Johannes 8 năm trước cách đây
mục cha
commit
9c2eecaebf
2 tập tin đã thay đổi với 4 bổ sung1 xóa
  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##"