feat(auth): enumeration-safe forgot-password confirmation copy
This commit is contained in:
parent
79bfea7cfb
commit
1a6cdaa078
|
|
@ -105,14 +105,17 @@ fun ForgotPasswordScreen(
|
||||||
)
|
)
|
||||||
Spacer(Modifier.height(16.dp))
|
Spacer(Modifier.height(16.dp))
|
||||||
Text(
|
Text(
|
||||||
"Reset email sent",
|
"Check your email",
|
||||||
style = MaterialTheme.typography.headlineSmall,
|
style = MaterialTheme.typography.headlineSmall,
|
||||||
color = AuthInk,
|
color = AuthInk,
|
||||||
textAlign = TextAlign.Center
|
textAlign = TextAlign.Center
|
||||||
)
|
)
|
||||||
Spacer(Modifier.height(8.dp))
|
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(
|
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,
|
style = MaterialTheme.typography.bodyMedium,
|
||||||
color = AuthMuted,
|
color = AuthMuted,
|
||||||
textAlign = TextAlign.Center
|
textAlign = TextAlign.Center
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue