summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/config.json10
-rw-r--r--config/config_docker.json10
2 files changed, 18 insertions, 2 deletions
diff --git a/config/config.json b/config/config.json
index 10a8b6553..c446b517c 100644
--- a/config/config.json
+++ b/config/config.json
@@ -21,7 +21,8 @@
"ResetSalt": "IPxFzSfnDFsNsRafZxz8NaYqFKhf9y2t",
"AnalyticsUrl": "",
"UseLocalStorage": true,
- "StorageDirectory": "./data/"
+ "StorageDirectory": "./data/",
+ "AllowedLoginAttempts": 10
},
"SSOSettings": {
"gitlab": {
@@ -69,6 +70,13 @@
"ApplePushCertPublic": "",
"ApplePushCertPrivate": ""
},
+ "RateLimitSettings": {
+ "UseRateLimiter": true,
+ "PerSec": 10,
+ "MemoryStoreSize": 10000,
+ "VaryByRemoteAddr": true,
+ "VaryByHeader": ""
+ },
"PrivacySettings": {
"ShowEmailAddress": true,
"ShowPhoneNumber": true,
diff --git a/config/config_docker.json b/config/config_docker.json
index c9fa5931a..fc3d2132a 100644
--- a/config/config_docker.json
+++ b/config/config_docker.json
@@ -21,7 +21,8 @@
"ResetSalt": "IPxFzSfnDFsNsRafZxz8NaYqFKhf9y2t",
"AnalyticsUrl": "",
"UseLocalStorage": true,
- "StorageDirectory": "/mattermost/data/"
+ "StorageDirectory": "/mattermost/data/",
+ "AllowedLoginAttempts": 10
},
"SSOSettings": {
"gitlab": {
@@ -69,6 +70,13 @@
"ApplePushCertPublic": "",
"ApplePushCertPrivate": ""
},
+ "RateLimitSettings": {
+ "UseRateLimiter": true,
+ "PerSec": 10,
+ "MemoryStoreSize": 10000,
+ "VaryByRemoteAddr": true,
+ "VaryByHeader": ""
+ },
"PrivacySettings": {
"ShowEmailAddress": true,
"ShowPhoneNumber": true,