Fixing defaults
Этот коммит содержится в:
@@ -68,8 +68,8 @@
|
|||||||
"ConnectionSecurity": "",
|
"ConnectionSecurity": "",
|
||||||
"InviteSalt": "bjlSR4QqkXFBr7TP4oDzlfZmcNuH9YoS",
|
"InviteSalt": "bjlSR4QqkXFBr7TP4oDzlfZmcNuH9YoS",
|
||||||
"PasswordResetSalt": "vZ4DcKyVVRlKHHJpexcuXzojkE5PZ5eL",
|
"PasswordResetSalt": "vZ4DcKyVVRlKHHJpexcuXzojkE5PZ5eL",
|
||||||
"SendPushNotifications": true,
|
"SendPushNotifications": false,
|
||||||
"PushNotificationServer": "https://push.mattermost.com"
|
"PushNotificationServer": ""
|
||||||
},
|
},
|
||||||
"RateLimitSettings": {
|
"RateLimitSettings": {
|
||||||
"EnableRateLimiter": true,
|
"EnableRateLimiter": true,
|
||||||
|
|||||||
@@ -68,8 +68,8 @@
|
|||||||
"ConnectionSecurity": "",
|
"ConnectionSecurity": "",
|
||||||
"InviteSalt": "bjlSR4QqkXFBr7TP4oDzlfZmcNuH9YoS",
|
"InviteSalt": "bjlSR4QqkXFBr7TP4oDzlfZmcNuH9YoS",
|
||||||
"PasswordResetSalt": "vZ4DcKyVVRlKHHJpexcuXzojkE5PZ5eL",
|
"PasswordResetSalt": "vZ4DcKyVVRlKHHJpexcuXzojkE5PZ5eL",
|
||||||
"SendPushNotifications": true,
|
"SendPushNotifications": false,
|
||||||
"PushNotificationServer": "https://push.mattermost.com"
|
"PushNotificationServer": ""
|
||||||
},
|
},
|
||||||
"RateLimitSettings": {
|
"RateLimitSettings": {
|
||||||
"EnableRateLimiter": true,
|
"EnableRateLimiter": true,
|
||||||
|
|||||||
@@ -68,8 +68,8 @@
|
|||||||
"ConnectionSecurity": "",
|
"ConnectionSecurity": "",
|
||||||
"InviteSalt": "bjlSR4QqkXFBr7TP4oDzlfZmcNuH9YoS",
|
"InviteSalt": "bjlSR4QqkXFBr7TP4oDzlfZmcNuH9YoS",
|
||||||
"PasswordResetSalt": "vZ4DcKyVVRlKHHJpexcuXzojkE5PZ5eL",
|
"PasswordResetSalt": "vZ4DcKyVVRlKHHJpexcuXzojkE5PZ5eL",
|
||||||
"SendPushNotifications": true,
|
"SendPushNotifications": false,
|
||||||
"PushNotificationServer": "https://push.mattermost.com"
|
"PushNotificationServer": ""
|
||||||
},
|
},
|
||||||
"RateLimitSettings": {
|
"RateLimitSettings": {
|
||||||
"EnableRateLimiter": true,
|
"EnableRateLimiter": true,
|
||||||
|
|||||||
@@ -181,12 +181,12 @@ func (o *Config) SetDefaults() {
|
|||||||
|
|
||||||
if o.EmailSettings.SendPushNotifications == nil {
|
if o.EmailSettings.SendPushNotifications == nil {
|
||||||
o.EmailSettings.SendPushNotifications = new(bool)
|
o.EmailSettings.SendPushNotifications = new(bool)
|
||||||
*o.EmailSettings.SendPushNotifications = true
|
*o.EmailSettings.SendPushNotifications = false
|
||||||
}
|
}
|
||||||
|
|
||||||
if o.EmailSettings.PushNotificationServer == nil {
|
if o.EmailSettings.PushNotificationServer == nil {
|
||||||
o.EmailSettings.PushNotificationServer = new(string)
|
o.EmailSettings.PushNotificationServer = new(string)
|
||||||
*o.EmailSettings.PushNotificationServer = "https://push.mattermost.com"
|
*o.EmailSettings.PushNotificationServer = ""
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user