Skip to content

Commit

Permalink
fix(setting-management): fix host email setting
Browse files Browse the repository at this point in the history
  • Loading branch information
colinin committed Oct 24, 2024
1 parent f4f96f0 commit b0857eb
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,8 @@ await SettingManager.GetOrNullAsync(IdentitySettingNames.OrganizationUnit.MaxUse

#region 邮件设置

if (await FeatureChecker.IsEnabledAsync(true, [SettingManagementFeatures.Enable, SettingManagementFeatures.AllowChangingEmailSettings]))
if (!CurrentTenant.IsAvailable ||
await FeatureChecker.IsEnabledAsync(true, [SettingManagementFeatures.Enable, SettingManagementFeatures.AllowChangingEmailSettings]))
{
var emailSettingGroup = new SettingGroupDto(L["DisplayName:Emailing"], L["Description:Emailing"]);

Expand Down

0 comments on commit b0857eb

Please sign in to comment.