Skip to content

Commit

Permalink
Fix: Remove email from the forgot password success message
Browse files Browse the repository at this point in the history
  • Loading branch information
siddhantk232 authored and amitu committed Oct 2, 2024
1 parent cb7ff67 commit c70ab12
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
10 changes: 2 additions & 8 deletions pages/password-recovery.ftd
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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."
1 change: 0 additions & 1 deletion scenarios/password-recovery.ftd
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@
-- password-recovery.page:
site-data: scenario-site
user-data: $john-doe.jd
email: abc@mail.com

0 comments on commit c70ab12

Please sign in to comment.