[MM-1915] Add Deactivate Account - server side (#8699)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
b6d5cc4f69
Коммит
c3e9c41440
@@ -1002,6 +1002,7 @@ type TeamSettings struct {
|
||||
EnableTeamCreation *bool
|
||||
EnableUserCreation *bool
|
||||
EnableOpenServer *bool
|
||||
EnableUserDeactivation *bool
|
||||
RestrictCreationToDomains string
|
||||
EnableCustomBrand *bool
|
||||
CustomBrandText *string
|
||||
@@ -1036,6 +1037,10 @@ func (s *TeamSettings) SetDefaults() {
|
||||
s.EnableCustomBrand = NewBool(false)
|
||||
}
|
||||
|
||||
if s.EnableUserDeactivation == nil {
|
||||
s.EnableUserDeactivation = NewBool(false)
|
||||
}
|
||||
|
||||
if s.CustomBrandText == nil {
|
||||
s.CustomBrandText = NewString(TEAM_SETTINGS_DEFAULT_CUSTOM_BRAND_TEXT)
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user