airajena commented on PR #5369: URL: https://github.com/apache/fineract/pull/5369#issuecomment-3796957318
> Seems ok now, but really curious what type of safeguards are implemented in this, Additionally we need to tests for the code coverage Below things are on the safeguards side - The generated password is time-bound (24 hours). After expiry, it’s automatically invalid and cannot be used. - Once the user logs in using the temporary password, they are required to change it immediately, and the temporary credentials are cleared. - Any successful password update (either through this flow or via an admin action) invalidates the temporary password. - If email delivery fails, the transaction is rolled back so no orphaned temporary passwords are stored. - Password reset requests go through the service layer and are logged, so the activity is traceable -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
