Skip to content

Commit

Permalink
fix: add password reset success messages (#539)
Browse files Browse the repository at this point in the history
* fix: add password reset success messages

* chore: apply suggestions

Co-authored-by: Thibault Reidy <[email protected]>

---------

Co-authored-by: Thibault Reidy <[email protected]>
  • Loading branch information
spaenleh and ReidyT authored Sep 19, 2024
1 parent ff84fcc commit a09de50
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/constants/messages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,8 @@ export const SUCCESS_MESSAGES = {
SIGN_IN: 'SIGN_IN',
SIGN_UP: 'SIGN_UP',
SIGN_IN_WITH_PASSWORD: 'SIGN_IN_WITH_PASSWORD',
PASSWORD_RESET_REQUEST: 'PASSWORD_RESET_REQUEST',
PASSWORD_RESET: 'PASSWORD_RESET',
EDIT_MEMBER: 'EDIT_MEMBER',
COPY_MEMBER_ID_TO_CLIPBOARD: 'COPY_MEMBER_ID_TO_CLIPBOARD',
EDIT_ITEM_MEMBERSHIP: 'EDIT_ITEM_MEMBERSHIP',
Expand Down
2 changes: 2 additions & 0 deletions src/langs/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@
"SIGN_IN": "Your information are valid, you will receive an email to login",
"SIGN_IN_WITH_PASSWORD": "You successfully signed in",
"SIGN_UP": "You successfully signed up, you will receive an email to login",
"PASSWORD_RESET_REQUEST": "The password reset request has been sent successfully. Please check your inbox.",
"PASSWORD_RESET": "The password has been updated successfully. You can now log in with your new password.",
"EDIT_MEMBER": "The user was updated successfully",
"COPY_MEMBER_ID_TO_CLIPBOARD": "The user ID is successfully copied",
"EDIT_ITEM_MEMBERSHIP": "The item membership was successfully edited",
Expand Down

0 comments on commit a09de50

Please sign in to comment.