mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Fixing defaults
This commit is contained in:
@@ -68,8 +68,8 @@
|
||||
"ConnectionSecurity": "",
|
||||
"InviteSalt": "bjlSR4QqkXFBr7TP4oDzlfZmcNuH9YoS",
|
||||
"PasswordResetSalt": "vZ4DcKyVVRlKHHJpexcuXzojkE5PZ5eL",
|
||||
"SendPushNotifications": true,
|
||||
"PushNotificationServer": "https://push.mattermost.com"
|
||||
"SendPushNotifications": false,
|
||||
"PushNotificationServer": ""
|
||||
},
|
||||
"RateLimitSettings": {
|
||||
"EnableRateLimiter": true,
|
||||
|
||||
@@ -68,8 +68,8 @@
|
||||
"ConnectionSecurity": "",
|
||||
"InviteSalt": "bjlSR4QqkXFBr7TP4oDzlfZmcNuH9YoS",
|
||||
"PasswordResetSalt": "vZ4DcKyVVRlKHHJpexcuXzojkE5PZ5eL",
|
||||
"SendPushNotifications": true,
|
||||
"PushNotificationServer": "https://push.mattermost.com"
|
||||
"SendPushNotifications": false,
|
||||
"PushNotificationServer": ""
|
||||
},
|
||||
"RateLimitSettings": {
|
||||
"EnableRateLimiter": true,
|
||||
|
||||
@@ -68,8 +68,8 @@
|
||||
"ConnectionSecurity": "",
|
||||
"InviteSalt": "bjlSR4QqkXFBr7TP4oDzlfZmcNuH9YoS",
|
||||
"PasswordResetSalt": "vZ4DcKyVVRlKHHJpexcuXzojkE5PZ5eL",
|
||||
"SendPushNotifications": true,
|
||||
"PushNotificationServer": "https://push.mattermost.com"
|
||||
"SendPushNotifications": false,
|
||||
"PushNotificationServer": ""
|
||||
},
|
||||
"RateLimitSettings": {
|
||||
"EnableRateLimiter": true,
|
||||
|
||||
@@ -181,12 +181,12 @@ func (o *Config) SetDefaults() {
|
||||
|
||||
if o.EmailSettings.SendPushNotifications == nil {
|
||||
o.EmailSettings.SendPushNotifications = new(bool)
|
||||
*o.EmailSettings.SendPushNotifications = true
|
||||
*o.EmailSettings.SendPushNotifications = false
|
||||
}
|
||||
|
||||
if o.EmailSettings.PushNotificationServer == nil {
|
||||
o.EmailSettings.PushNotificationServer = new(string)
|
||||
*o.EmailSettings.PushNotificationServer = "https://push.mattermost.com"
|
||||
*o.EmailSettings.PushNotificationServer = ""
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user