Check whether priorLoginDate is undefined
This commit is contained in:
1 parent
1a48b6040a
commit
1891d1fe75
2 files changed
+7
-1
No files matched your search
@@ -367,6 +367,8 @@ ActiveEntry.resetPassword = function(passwordValue, confirmPassword) {
|
||||
return;
|
||||
}
|
||||
Session.set('_resetPasswordToken', null);
|
||||
// Update last login time
|
||||
Meteor.call("updateLastLoginDate");
|
||||
var ActiveEntryConfig = Session.get('Photonic.ActiveEntry');
|
||||
Router.go(ActiveEntryConfig.signIn.destination);
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user