0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-30 20:33:54 -05:00

feat(console): hide the entrance of http email connector (#6616)

This commit is contained in:
wangsijie 2024-09-23 13:58:10 +08:00 committed by GitHub
parent 1aa5b262b0
commit 21a59363ae
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -52,6 +52,8 @@ function CreateConnectorForm({ onClose, isOpen: isFormOpen, type }: Props) {
// Hide the entrance of adding SAML social connectors, users should go to Enterprise SSO if they want to use SAML. // Hide the entrance of adding SAML social connectors, users should go to Enterprise SSO if they want to use SAML.
// Should not remove the SAML factory from GET /connector-factories API, since that could break the existing SAML connectors. // Should not remove the SAML factory from GET /connector-factories API, since that could break the existing SAML connectors.
.filter(({ id }) => id !== 'saml') .filter(({ id }) => id !== 'saml')
// Hide the entrance of adding HTTP Email connector
.filter(({ id }) => id !== 'http-email')
); );
return allGroups return allGroups