Skip to content
Snippets Groups Projects
Commit d4000b6f authored by Shane Tomlinson's avatar Shane Tomlinson
Browse files

Starting to hook up the reset password to the main dialog controller.

Still need to hook this up to something reasonable that does not reset the user's account completely.
parent b258ac69
No related branches found
No related tags found
No related merge requests found
......@@ -168,6 +168,10 @@
},
resetPassword: function() {
var email = $("#email").val();
this.close("reset_password", {
email: email
});
}
});
......
......@@ -88,12 +88,8 @@ PageController.extend("Dialog", {}, {
self.syncEmailKeypairs();
});
hub.subscribe("forgotpassword", function(msg, info) {
self.doForgotPassword(info.email);
});
hub.subscribe("forgotpassword:reset", function(msg, info) {
self.doConfirmEmail(info.email);
hub.subscribe("reset_password", function(msg, info) {
self.doConfirmUser(info.email);
});
hub.subscribe("email_chosen", function(msg, info) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment