--- a/plugins/supported/userident/index.js
+++ b/plugins/supported/userident/index.js
@@ -296,17 +296,17 @@ exports.lostController = SC.Object.creat
onResetPwdFailure: function() {
displayError('Reset Password',
'Failed to reset password: Your Username is unkown.');
},
onResetPwdSuccess: function() {
displayInfo('Reset Password',
- 'Successfully reset password - check your emails.');
+ 'Confirmation email sent - check your mail and follow the link');
}
});
/**
* Controller for the sign-in process
*/
exports.resetController = SC.Object.create({
hash: '',
@@ -350,17 +350,19 @@ exports.resetController = SC.Object.crea
/**
* The reset worked.
*/
onSuccess: function() {
var lc = exports.loginController;
lc.set('username', this.get('username'));
lc.set('password', this.get('password1'));
- lc.signup();
+ SC.run(function() {
+ exports.loginController.login();
+ });
}
});
/**
*
*/
exports.userIdentPage = SC.Page.design({
mainPane: SC.PanelPane.design({