mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Fix change passwords flow (bug introduced in 147ef71).
Improve error reporting in Meteor.flush.
This commit is contained in:
@@ -249,8 +249,8 @@
|
||||
{fieldName: 'password-again', fieldLabel: 'New Password (again)',
|
||||
inputType: 'password',
|
||||
visible: function () {
|
||||
return Meteor.accounts._options.requireUsername
|
||||
&& !Meteor.accounts._options.requireEmail;
|
||||
return Accounts._options.requireUsername
|
||||
&& !Accounts._options.requireEmail;
|
||||
}}
|
||||
];
|
||||
};
|
||||
|
||||
@@ -62,7 +62,7 @@
|
||||
try {
|
||||
f(ctx);
|
||||
} catch (e) {
|
||||
Meteor._debug("Exception from Meteor.flush:", e);
|
||||
Meteor._debug("Exception from Meteor.flush:", e.stack);
|
||||
}
|
||||
});
|
||||
delete ctx._callbacks; // maybe help the GC
|
||||
|
||||
Reference in New Issue
Block a user