Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'web/assets/js/model/setting.js')
-rw-r--r--web/assets/js/model/setting.js22
1 files changed, 22 insertions, 0 deletions
diff --git a/web/assets/js/model/setting.js b/web/assets/js/model/setting.js
index daf03799..53ffae1a 100644
--- a/web/assets/js/model/setting.js
+++ b/web/assets/js/model/setting.js
@@ -50,6 +50,28 @@ class AllSetting {
this.timeLocation = "Local";
+ // LDAP settings
+ this.ldapEnable = false;
+ this.ldapHost = "";
+ this.ldapPort = 389;
+ this.ldapUseTLS = false;
+ this.ldapBindDN = "";
+ this.ldapPassword = "";
+ this.ldapBaseDN = "";
+ this.ldapUserFilter = "(objectClass=person)";
+ this.ldapUserAttr = "mail";
+ this.ldapVlessField = "vless_enabled";
+ this.ldapSyncCron = "@every 1m";
+ this.ldapFlagField = "";
+ this.ldapTruthyValues = "true,1,yes,on";
+ this.ldapInvertFlag = false;
+ this.ldapInboundTags = "";
+ this.ldapAutoCreate = false;
+ this.ldapAutoDelete = false;
+ this.ldapDefaultTotalGB = 0;
+ this.ldapDefaultExpiryDays = 0;
+ this.ldapDefaultLimitIP = 0;
+
if (data == null) {
return
}