summaryrefslogtreecommitdiffstats
path: root/config/config.json
diff options
context:
space:
mode:
Diffstat (limited to 'config/config.json')
-rw-r--r--config/config.json14
1 files changed, 11 insertions, 3 deletions
diff --git a/config/config.json b/config/config.json
index a1e73eb03..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": {
@@ -49,8 +50,8 @@
"S3Region": ""
},
"ImageSettings": {
- "ThumbnailWidth": 200,
- "ThumbnailHeight": 0,
+ "ThumbnailWidth": 120,
+ "ThumbnailHeight": 100,
"PreviewWidth": 1024,
"PreviewHeight": 0,
"ProfileWidth": 128,
@@ -69,6 +70,13 @@
"ApplePushCertPublic": "",
"ApplePushCertPrivate": ""
},
+ "RateLimitSettings": {
+ "UseRateLimiter": true,
+ "PerSec": 10,
+ "MemoryStoreSize": 10000,
+ "VaryByRemoteAddr": true,
+ "VaryByHeader": ""
+ },
"PrivacySettings": {
"ShowEmailAddress": true,
"ShowPhoneNumber": true,