Task #963
closed
Add message with accounts after password is reseted
Added by Radek Tomiška almost 7 years ago.
Updated over 6 years ago.
Description
Show message on FE with accounts after password is reseted - the same message as on content PasswordChange#passwordChange() with success account, failed accounts and info about password was not reseted on an account (no account is available).
- Due date set to 02/15/2018
- Start date changed from 02/13/2018 to 02/15/2018
- Follows Task #955: Disable password reset in IdM added
- Status changed from New to Needs feedback
- Assignee changed from Patrik Stloukal to Radek Tomiška
- % Done changed from 0 to 90
i edited PasswordResetDto, added List<OperationResult> from processor, because of sucess/fail password reset on systems, edited DefaultPasswordResetRequestService to add operations results to dto
on FE edited VerifyReset.js method _afterSave to show messages (like in pwdChange). Added 3 messages to pwdReset localization.
commit: https://git.bcvsolutions.eu/modules/password-reset/commit/0ade2cd0eaad74e5a0b37e2470ea8ab6349e427c
Radek, could you please look on my implementation and write feedback?
- Assignee changed from Radek Tomiška to Peter Štrunc
- Status changed from Needs feedback to In Progress
- Assignee changed from Peter Štrunc to Patrik Stloukal
I did review. Here are my notes:
- Refactor new code in Realization/backend/src/main/java/eu/bcvsolutions/idm/pwdreset/service/impl/DefaultPasswordResetRequestService.java. Try to avoid long methods and extensive indentations. Also it is not recommended to nest lambdas, because it becomes unreadable.
Otherwise it is awesome, thanks ;)
- Assignee changed from Patrik Stloukal to Peter Štrunc
I refactored the code a little bit to get rid of the indentation. I will merge the code to develop.
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
Also available in: Atom
PDF