diff --git a/model/config.go b/model/config.go index 4588731b62..a134717ba2 100644 --- a/model/config.go +++ b/model/config.go @@ -847,7 +847,7 @@ func (o *Config) SetDefaults() { if o.ServiceSettings.AllowEditPost == nil { o.ServiceSettings.AllowEditPost = new(string) - *o.ServiceSettings.AllowEditPost = ALLOW_EDIT_POST_TIME_LIMIT + *o.ServiceSettings.AllowEditPost = ALLOW_EDIT_POST_ALWAYS } if o.ServiceSettings.PostEditTimeLimit == nil {