Browse Source

Do not close form for immediate visual feedback on password change

Johannes Zellner 1 year ago
parent
commit
7ebdd1b68b
1 changed files with 3 additions and 4 deletions
  1. 3 4
      config/accounts.js

+ 3 - 4
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();
   },
 });