Do not close form for immediate visual feedback on password change

This commit is contained in:
Johannes Zellner 2023-09-28 12:30:12 +02:00
parent 79e61f6d64
commit 7ebdd1b68b

View file

@ -126,10 +126,9 @@ AccountsTemplates.configure({
AccountsTemplates.configureRoute('changePwd', { AccountsTemplates.configureRoute('changePwd', {
redirect() { redirect() {
// XXX We should emit a notification once we have a notification system. // We should go back with the popup but we don't since user feedback about the change is within the popup only.
// Currently the user has no indication that his modification has been // Once we have a global feedback popup mechanism we can use that here and close with the following:
// applied. // Popup.back();
Popup.back();
}, },
}); });