Этот коммит содержится в:
Jesús Espino
2018-06-19 19:40:26 +02:00
коммит произвёл GitHub
родитель 226d4b2ac8
Коммит 344836dfb2
10 изменённых файлов: 101 добавлений и 23 удалений

Просмотреть файл

@@ -1946,7 +1946,7 @@ func (o *Config) IsValid() *AppError {
}
if len(*o.ServiceSettings.SiteURL) == 0 && *o.ServiceSettings.AllowCookiesForSubdomains {
return NewAppError("Config.IsValid", "Allowing cookies for subdomains requires SiteURL to be set.", nil, "", http.StatusBadRequest)
return NewAppError("Config.IsValid", "model.config.is_valid.allow_cookies_for_subdomains.app_error", nil, "", http.StatusBadRequest)
}
if err := o.TeamSettings.isValid(); err != nil {