Remove guest badge (#23825)
* Remove guest badge * Address feedback * Fix lint, test and i18n * Fix test
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
05cd245e97
Коммит
fda5dd8468
@@ -3055,6 +3055,7 @@ func (s *DisplaySettings) SetDefaults() {
|
||||
|
||||
type GuestAccountsSettings struct {
|
||||
Enable *bool `access:"authentication_guest_access"`
|
||||
HideTags *bool `access:"authentication_guest_access"`
|
||||
AllowEmailAccounts *bool `access:"authentication_guest_access"`
|
||||
EnforceMultifactorAuthentication *bool `access:"authentication_guest_access"`
|
||||
RestrictCreationToDomains *string `access:"authentication_guest_access"`
|
||||
@@ -3065,6 +3066,10 @@ func (s *GuestAccountsSettings) SetDefaults() {
|
||||
s.Enable = NewBool(false)
|
||||
}
|
||||
|
||||
if s.HideTags == nil {
|
||||
s.HideTags = NewBool(false)
|
||||
}
|
||||
|
||||
if s.AllowEmailAccounts == nil {
|
||||
s.AllowEmailAccounts = NewBool(true)
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user