mirror of
https://github.com/bitwarden/server
synced 2025-12-30 07:03:42 +00:00
chore: remove FF, references, and restructure code, refs PM-24373 (#6353)
This commit is contained in:
@@ -22,8 +22,7 @@ public class SendOrganizationInvitesCommand(
|
||||
IPolicyRepository policyRepository,
|
||||
IOrgUserInviteTokenableFactory orgUserInviteTokenableFactory,
|
||||
IDataProtectorTokenFactory<OrgUserInviteTokenable> dataProtectorTokenFactory,
|
||||
IMailService mailService,
|
||||
IFeatureService featureService) : ISendOrganizationInvitesCommand
|
||||
IMailService mailService) : ISendOrganizationInvitesCommand
|
||||
{
|
||||
public async Task SendInvitesAsync(SendInvitesRequest request)
|
||||
{
|
||||
@@ -72,15 +71,12 @@ public class SendOrganizationInvitesCommand(
|
||||
|
||||
var orgUsersWithExpTokens = orgUsers.Select(MakeOrgUserExpiringTokenPair);
|
||||
|
||||
var isSubjectFeatureEnabled = featureService.IsEnabled(FeatureFlagKeys.InviteEmailImprovements);
|
||||
|
||||
return new OrganizationInvitesInfo(
|
||||
organization,
|
||||
orgSsoEnabled,
|
||||
orgSsoLoginRequiredPolicyEnabled,
|
||||
orgUsersWithExpTokens,
|
||||
orgUserHasExistingUserDict,
|
||||
isSubjectFeatureEnabled,
|
||||
initOrganization
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user