64
Views
2
Comments
how to implement forget password

Hi everyone I want to implement a very simple forgot password method. Please help. through email password recovery.

2025-12-12 06-45-53
Nandhakumar Sureshbabu

Hi @preeti nanda,

1) Create a mail input field 

2) fetch the user's aggregate and compare the entered mail with the registered mail in the user's entity

3) By this get the userid of that user, then create a new password field then pass that value to create or update user entity action to save the data.

Note: if you want to receive the password in your email then, you have to set the SMTP configuration.


If this solution doesn't solve your issue, then kindly explain the question bit clear.

Hope it helps.

Regards,
Nandhakumar S.

2024-04-05 19-22-12
João Sousa

Hi there,

You can also check this episode of Decoded: Quick Hits for a detailed and nice explanation.

https://www.youtube.com/watch?v=QKqXKJdqBuY

Regards,

João

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.