From d2328bd43c57d22b61311808e78e2f4ccaa1819f Mon Sep 17 00:00:00 2001 From: Carlos Monastyrski Date: Fri, 26 Sep 2025 19:01:50 -0300 Subject: [PATCH] Improve wording on OAuthPasswordResetTemplate --- .../emails/OAuthPasswordResetTemplate.tsx | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/backend/src/services/smtp/emails/OAuthPasswordResetTemplate.tsx b/backend/src/services/smtp/emails/OAuthPasswordResetTemplate.tsx index a63ea1273..bf9073bfe 100644 --- a/backend/src/services/smtp/emails/OAuthPasswordResetTemplate.tsx +++ b/backend/src/services/smtp/emails/OAuthPasswordResetTemplate.tsx @@ -31,7 +31,7 @@ export const OAuthPasswordResetTemplate = ({ const getAuthMethodMessage = () => { if (lastLoginMethod) { const displayName = getAuthMethodDisplayName(lastLoginMethod); - return `Please continue signing in with ${displayName}, which aligns with your account's configured authentication method.`; + return `Please continue by signing in with ${displayName}.`; } return "Please continue using the same authentication method you previously used to sign in (e.g., SSO, SAML, OAuth, or another configured provider)."; }; @@ -45,27 +45,22 @@ export const OAuthPasswordResetTemplate = ({ Password Reset Not Available
- - A password reset was requested for your Infisical account ({email}), but your account doesn't have password - login enabled. - Password reset is not available for this account. - {getAuthMethodMessage()} -
-
- Need help? + A password reset was requested for your Infisical account ({email}), but password login has not been enabled + for your account. + {getAuthMethodMessage()} - If you're having trouble accessing your account or need to change your authentication method, please contact{" "} + If you did not initiate this request, please contact{" "} {isCloud ? ( <> - our support team at support@infisical.com + us immediately at support@infisical.com ) : ( - "your instance administrator" + "your administrator immediately" )} .