From ea5c493e2d30487a758a2060a296e55c2ea45a2b Mon Sep 17 00:00:00 2001 From: Rick Falkvinge Date: Sat, 24 Jan 2015 14:32:45 +0100 Subject: [PATCH] Added resources for password reset --- ...ansmission.NotificationPayload.Designer.cs | 92 +++++++++++++++++++ ...ions.Transmission.NotificationPayload.resx | 46 ++++++++++ 2 files changed, 138 insertions(+) diff --git a/Logic/App_GlobalResources/Logic.Communications.Transmission.NotificationPayload.Designer.cs b/Logic/App_GlobalResources/Logic.Communications.Transmission.NotificationPayload.Designer.cs index b18cd4c8..41444d67 100644 --- a/Logic/App_GlobalResources/Logic.Communications.Transmission.NotificationPayload.Designer.cs +++ b/Logic/App_GlobalResources/Logic.Communications.Transmission.NotificationPayload.Designer.cs @@ -378,6 +378,98 @@ namespace Swarmops.Logic.App_GlobalResources { } } + /// + /// 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. + /// + ///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. + /// + ///Thank you for your understanding.. + /// + internal static string Password_CannotReset2FA_Body { + get { + return ResourceManager.GetString("Password_CannotReset2FA_Body", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to [[OrganizationName]] Cannot Reset Password. + /// + internal static string Password_CannotReset2FA_Subject { + get { + return ResourceManager.GetString("Password_CannotReset2FA_Subject", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Your password at [OrganizationName] was changed. + /// + ///If you did not just perform this password change, there has been a security breach. If this is the case, please block your account IMMEDIATELY by clicking the following link: + /// + ///[SystemUrl]Security/LockoutAccount?Email=[EmailAddress]&Ticket=[LockoutTicket] + /// + ///For security purposes, there will not be a confirmation dialog: your account will be locked the instant you go to this link, and administrators will contact you to verify what happened and work with y [rest of string was truncated]";. + /// + internal static string Password_Changed_Body { + get { + return ResourceManager.GetString("Password_Changed_Body", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to [[OrganizationName]] Password was changed. + /// + internal static string Password_Changed_Subject { + get { + return ResourceManager.GetString("Password_Changed_Subject", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to People at [OrganizationName] have issued a password reset ticket to your account, presumably at your request. This ticket is valid for the next 24 hours. + /// + ///Please follow this link to reset your password and re-enable any two-factor authentication, if it was previously enabled: + /// + ///[SystemUrl]Security/ResetPassword?Ticket=[ResetPasswordTicket] + /// + ///This ticket will expire in 24 hours. If you do not reset your password in this time frame, you will need to contact the administrators at [OrganizationName] to issu [rest of string was truncated]";. + /// + internal static string Password_ResetByCrew_Body { + get { + return ResourceManager.GetString("Password_ResetByCrew_Body", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to [[OrganizationName]] Password Reset Ticket. + /// + internal static string Password_ResetByCrew_Subject { + get { + return ResourceManager.GetString("Password_ResetByCrew_Subject", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Somebody, most likely you, requested a reset of the password associated with this email address at [OrganizationName]. If this was you, please follow the link below in the next 60 minutes to complete the password reset procedure: + /// + ///[SystemUrl]Security/ResetPassword?Ticket=[ResetPasswordTicket] + /// + ///If you did NOT request a password reset, you can (and should) ignore this mail. The password reset request will expire in one hour. (If you are getting a large number of these password reset links that you did not [rest of string was truncated]";. + /// + internal static string Password_ResetOnRequest_Body { + get { + return ResourceManager.GetString("Password_ResetOnRequest_Body", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to [[OrganizationName]] Password Reset Ticket. + /// + internal static string Password_ResetOnRequest_Subject { + get { + return ResourceManager.GetString("Password_ResetOnRequest_Subject", resourceCulture); + } + } + /// /// Looks up a localized string similar to Receipts have been filed that need validation for their financial processes to continue. /// diff --git a/Logic/App_GlobalResources/Logic.Communications.Transmission.NotificationPayload.resx b/Logic/App_GlobalResources/Logic.Communications.Transmission.NotificationPayload.resx index 2a89b118..89881dcf 100644 --- a/Logic/App_GlobalResources/Logic.Communications.Transmission.NotificationPayload.resx +++ b/Logic/App_GlobalResources/Logic.Communications.Transmission.NotificationPayload.resx @@ -243,6 +243,52 @@ Time spent transmitting: [TransmissionTime]. [[OrganizationName]] Comms transmitted: [GeographyName] + + 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. + +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. + +Thank you for your understanding. + + + [[OrganizationName]] Cannot Reset Password + + + Your password at [OrganizationName] was changed. + +If you did not just perform this password change, there has been a security breach. If this is the case, please block your account IMMEDIATELY by clicking the following link: + +[SystemUrl]Security/LockoutAccount?Email=[EmailAddress]&Ticket=[LockoutTicket] + +For security purposes, there will not be a confirmation dialog: your account will be locked the instant you go to this link, and administrators will contact you to verify what happened and work with you to re-enable your account. + +However, if it was you yourself who changed the password, and thereby caused this notification to be sent, everything is obviously fine and just as it should be. Carry on. + + + [[OrganizationName]] Password was changed + + + People at [OrganizationName] have issued a password reset ticket to your account, presumably at your request. This ticket is valid for the next 24 hours. + +Please follow this link to reset your password and re-enable any two-factor authentication, if it was previously enabled: + +[SystemUrl]Security/ResetPassword?Ticket=[ResetPasswordTicket] + +This ticket will expire in 24 hours. If you do not reset your password in this time frame, you will need to contact the administrators at [OrganizationName] to issue a new password reset ticket. + + + [[OrganizationName]] Password Reset Ticket + + + Somebody, most likely you, requested a reset of the password associated with this email address at [OrganizationName]. If this was you, please follow the link below in the next 60 minutes to complete the password reset procedure: + +[SystemUrl]Security/ResetPassword?Ticket=[ResetPasswordTicket] + +If you did NOT request a password reset, you can (and should) ignore this mail. The password reset request will expire in one hour. (If you are getting a large number of these password reset links that you did not request, please notify the administrator.) + + + [[OrganizationName]] Password Reset Ticket + Receipts have been filed that need validation for their financial processes to continue.