From c70ab12c6516005986bbcdbc40c5ca42aa9bbdec Mon Sep 17 00:00:00 2001 From: siddhantCodes Date: Wed, 2 Oct 2024 13:03:10 +0530 Subject: [PATCH] Fix: Remove email from the forgot password success message --- pages/password-recovery.ftd | 10 ++-------- scenarios/password-recovery.ftd | 1 - 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/pages/password-recovery.ftd b/pages/password-recovery.ftd index 404c3efd..bfa25f98 100644 --- a/pages/password-recovery.ftd +++ b/pages/password-recovery.ftd @@ -4,7 +4,6 @@ -- import: ui.fifthtry.com/records/user-data as ud -- component page: -string email: module site-data: site-data module authenticate-user: authenticate-user ud.user-data user-data: @@ -36,7 +35,7 @@ hide-header: true -- ds.heading-small: Recover password width: hug-content - -- ds.copy-large: $msg(e = $page.email) + -- ds.copy-large: We've sent instructions to reset your password to **your registered email**. align: center -- ds.primary-button: Login @@ -65,7 +64,7 @@ hide-header: true -- ds.heading-small: Recover password width: hug-content - -- ds.copy-large: $msg(e = $page.email) + -- ds.copy-large: We've sent instructions to reset your password to **your registered email**. align: center -- ds.primary-button: Login @@ -82,8 +81,3 @@ hide-header: true -- end: p.page -- end: page - --- string msg(e): -string e: - -"We have sent link to " + e + " to reset your password." diff --git a/scenarios/password-recovery.ftd b/scenarios/password-recovery.ftd index d47a69b2..9dd0240c 100644 --- a/scenarios/password-recovery.ftd +++ b/scenarios/password-recovery.ftd @@ -5,4 +5,3 @@ -- password-recovery.page: site-data: scenario-site user-data: $john-doe.jd -email: abc@mail.com