MM-53005 Fix Duplicate Entry in System Console (#23685)

* remove duplicate entry in system console

* update text

* correct fix, one should show, one should hide
This commit is contained in:
Scott Bishel 2023-06-13 07:58:10 -06:00 committed by GitHub
parent c249ba4a66
commit be590a1f0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3249,6 +3249,10 @@ const AdminDefinition = {
help_text_default: 'New user accounts are restricted to the above specified email domain (e.g. "mattermost.com") or list of comma-separated domains (e.g. "corp.mattermost.com, mattermost.com"). New teams can only be created by users from the above domain(s). This setting only affects email login for users.',
placeholder: t('admin.team.restrictExample'),
placeholder_default: 'E.g.: "corp.mattermost.com, mattermost.com"',
isHidden: it.all(
it.licensed,
it.not(it.licensedForSku('starter')),
),
isDisabled: it.not(it.userHasWritePermissionOnResource(RESOURCE_KEYS.AUTHENTICATION.SIGNUP)),
},
{