Do not close form for immediate visual feedback on password change

pull/5146/head
Johannes Zellner 2 years ago
parent 79e61f6d64
commit 7ebdd1b68b
  1. 7
      config/accounts.js

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

Loading…
Cancel
Save