Pushing to deploy new backend notifications

This commit is contained in:
Rick Falkvinge
2015-01-29 12:37:20 +01:00
parent 2ada0a944b
commit cf877e84f3
4 changed files with 29 additions and 9 deletions
@@ -379,9 +379,9 @@ namespace Swarmops.Logic.App_GlobalResources {
}
/// <summary>
/// Looks up a localized string similar to Somebody, most likely you, requested a reset of the password associated with this email address at [OrganizationName]. However, two-factor authentication has been enabled for this account for heightened security. Therefore, the password CANNOT be reset by simple means.
/// Looks up a localized string similar to Somebody, most likely you, requested a reset of the password associated with this mail address at [InstallationName]. However, two-factor authentication has been enabled for this account for heightened security. Therefore, the password CANNOT be reset by simple means.
///
///Please contact a personnel administrator at [OrganizationName] to resolve your problem and issue a new password following a more rigorous identification procedure matching the two-factor security level.
///Please contact a personnel administrator at [InstallationName] to resolve your problem and issue a new password following a more rigorous identification procedure matching the two-factor security level.
///
///Thank you for your understanding..
/// </summary>
@@ -392,7 +392,7 @@ namespace Swarmops.Logic.App_GlobalResources {
}
/// <summary>
/// Looks up a localized string similar to [[OrganizationName]] Cannot Reset Password.
/// Looks up a localized string similar to [[InstallationName]] Cannot Reset Password.
/// </summary>
internal static string Password_CannotReset2FA_Subject {
get {
@@ -244,14 +244,14 @@ Time spent transmitting: [TransmissionTime].</value>
<value>[[OrganizationName]] Comms transmitted: [GeographyName]</value>
</data>
<data name="Password_CannotReset2FA_Body" xml:space="preserve">
<value>Somebody, most likely you, requested a reset of the password associated with this email address at [OrganizationName]. However, two-factor authentication has been enabled for this account for heightened security. Therefore, the password CANNOT be reset by simple means.
<value>Somebody, most likely you, requested a reset of the password associated with this mail address at [InstallationName]. However, two-factor authentication has been enabled for this account for heightened security. Therefore, the password CANNOT be reset by simple means.
Please contact a personnel administrator at [OrganizationName] to resolve your problem and issue a new password following a more rigorous identification procedure matching the two-factor security level.
Please contact a personnel administrator at [InstallationName] to resolve your problem and issue a new password following a more rigorous identification procedure matching the two-factor security level.
Thank you for your understanding.</value>
</data>
<data name="Password_CannotReset2FA_Subject" xml:space="preserve">
<value>[[OrganizationName]] Cannot Reset Password</value>
<value>[[InstallationName]] Cannot Reset Password</value>
</data>
<data name="Password_Changed_Body" xml:space="preserve">
<value>Your [InstallationName] password was changed at [ExternalUrl].
+1 -1
View File
@@ -259,7 +259,7 @@ namespace Swarmops.Logic.Communications
}
public static OutboundComm CreateSecurityNotifcation (Person concernedPerson, Person actingPerson, Organization organization, string ticket,
public static OutboundComm CreateSecurityNotification (Person concernedPerson, Person actingPerson, Organization organization, string ticket,
NotificationResource notification)
{
NotificationPayload payload = new NotificationPayload(notification.ToString());