mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Set default for DefaultTeamName setting if not present in config (#7987)
This commit is contained in:
@@ -1021,6 +1021,10 @@ func (s *TeamSettings) SetDefaults() {
|
||||
if s.ExperimentalTownSquareIsReadOnly == nil {
|
||||
s.ExperimentalTownSquareIsReadOnly = NewBool(false)
|
||||
}
|
||||
|
||||
if s.DefaultTeamName == nil {
|
||||
s.DefaultTeamName = NewString("")
|
||||
}
|
||||
}
|
||||
|
||||
type ClientRequirements struct {
|
||||
|
||||
Reference in New Issue
Block a user