feat(auth): enumeration-safe forgot-password confirmation copy

This commit is contained in:
null 2026-07-01 01:50:40 -05:00
parent 79bfea7cfb
commit 1a6cdaa078
1 changed files with 5 additions and 2 deletions

View File

@ -105,14 +105,17 @@ fun ForgotPasswordScreen(
)
Spacer(Modifier.height(16.dp))
Text(
"Reset email sent",
"Check your email",
style = MaterialTheme.typography.headlineSmall,
color = AuthInk,
textAlign = TextAlign.Center
)
Spacer(Modifier.height(8.dp))
// Enumeration-safe: we don't reveal whether this specific email is registered or how it
// signs in. The Google line quietly covers accounts that have no password to reset.
Text(
"Check your inbox and follow the link to reset your password.",
"If an account exists for that email, a reset link is on its way — check your inbox. " +
"Signed up with Google? Use “Continue with Google” to sign in instead.",
style = MaterialTheme.typography.bodyMedium,
color = AuthMuted,
textAlign = TextAlign.Center