mirror of
https://github.com/bitwarden/server.git
synced 2024-11-22 12:15:36 +01:00
Correcting namespaces for email templates.
This commit is contained in:
parent
d3172c077e
commit
fe5af90e4f
@ -289,7 +289,7 @@ public class HandlebarsMailService : IMailService
|
|||||||
WebVaultUrl = _globalSettings.BaseServiceUri.VaultWithHash,
|
WebVaultUrl = _globalSettings.BaseServiceUri.VaultWithHash,
|
||||||
SiteName = _globalSettings.SiteName
|
SiteName = _globalSettings.SiteName
|
||||||
};
|
};
|
||||||
await AddMessageContentAsync(message, "AdminConsole.OrganizationUserRemovedForPolicyTwoStep", model);
|
await AddMessageContentAsync(message, "OrganizationUserRemovedForPolicyTwoStep", model);
|
||||||
message.Category = "OrganizationUserRemovedForPolicyTwoStep";
|
message.Category = "OrganizationUserRemovedForPolicyTwoStep";
|
||||||
await _mailDeliveryService.SendEmailAsync(message);
|
await _mailDeliveryService.SendEmailAsync(message);
|
||||||
}
|
}
|
||||||
@ -518,7 +518,7 @@ public class HandlebarsMailService : IMailService
|
|||||||
WebVaultUrl = _globalSettings.BaseServiceUri.VaultWithHash,
|
WebVaultUrl = _globalSettings.BaseServiceUri.VaultWithHash,
|
||||||
SiteName = _globalSettings.SiteName
|
SiteName = _globalSettings.SiteName
|
||||||
};
|
};
|
||||||
await AddMessageContentAsync(message, "OrganizationUserRevokedForSingleOrgPolicy", model);
|
await AddMessageContentAsync(message, "AdminConsole.OrganizationUserRevokedForSingleOrgPolicy", model);
|
||||||
message.Category = "OrganizationUserRevokedForSingleOrgPolicy";
|
message.Category = "OrganizationUserRevokedForSingleOrgPolicy";
|
||||||
await _mailDeliveryService.SendEmailAsync(message);
|
await _mailDeliveryService.SendEmailAsync(message);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user