diff options
author | Martin Kraft <mkraft@users.noreply.github.com> | 2018-02-13 06:08:21 -0500 |
---|---|---|
committer | Jesús Espino <jespinog@gmail.com> | 2018-02-13 12:08:21 +0100 |
commit | b7fc3d7d35ca4dd16097715a66463392a1dfaf0a (patch) | |
tree | f3ab26dcd84c3377bc34542a63facf21df6c0bc6 /model | |
parent | 93254308599357fac665fce604f3506ee8a845fa (diff) | |
download | chat-b7fc3d7d35ca4dd16097715a66463392a1dfaf0a.tar.gz chat-b7fc3d7d35ca4dd16097715a66463392a1dfaf0a.tar.bz2 chat-b7fc3d7d35ca4dd16097715a66463392a1dfaf0a.zip |
Updates migration tests to reflect front-end mapping changes. (#8237)
Diffstat (limited to 'model')
-rw-r--r-- | model/config.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/model/config.go b/model/config.go index 8fb11d403..f20a11ab8 100644 --- a/model/config.go +++ b/model/config.go @@ -962,7 +962,7 @@ func (s *ThemeSettings) SetDefaults() { type TeamSettings struct { SiteName string MaxUsersPerTeam *int - EnableTeamCreation bool + EnableTeamCreation *bool EnableUserCreation bool EnableOpenServer *bool RestrictCreationToDomains string @@ -1085,6 +1085,10 @@ func (s *TeamSettings) SetDefaults() { if s.ExperimentalPrimaryTeam == nil { s.ExperimentalPrimaryTeam = NewString("") } + + if s.EnableTeamCreation == nil { + s.EnableTeamCreation = NewBool(true) + } } type ClientRequirements struct { |