Remove guest badge (#23825)

* Remove guest badge

* Address feedback

* Fix lint, test and i18n

* Fix test
This commit is contained in:
Daniel Espino García
2023-06-30 11:06:18 +02:00
committed by GitHub
parent 05cd245e97
commit fda5dd8468
18 changed files with 66 additions and 22 deletions

View File

@@ -860,6 +860,7 @@ func (ts *TelemetryService) trackConfig() {
ts.SendTelemetry(TrackConfigGuestAccounts, map[string]any{
"enable": *cfg.GuestAccountsSettings.Enable,
"hide_tag": *cfg.GuestAccountsSettings.HideTags,
"allow_email_accounts": *cfg.GuestAccountsSettings.AllowEmailAccounts,
"enforce_multifactor_authentication": *cfg.GuestAccountsSettings.EnforceMultifactorAuthentication,
"isdefault_restrict_creation_to_domains": isDefault(*cfg.GuestAccountsSettings.RestrictCreationToDomains, ""),