From 59b90641ea4bb7eaa651d2fa0d782c756647b3ec Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Wed, 9 Sep 2015 12:02:45 +0800 Subject: Bug 1201954 - Add a "forgot password" link to user preferences -> account --- js/account.js | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'js') diff --git a/js/account.js b/js/account.js index d68c3f550..76b385437 100644 --- a/js/account.js +++ b/js/account.js @@ -42,6 +42,14 @@ $(function() { $('#account_disable').val(''); }); + // forgot password + + $('#forgot-password') + .click(function(event) { + event.preventDefault(); + $('#forgot-form').submit(); + }); + // mfa $('#mfa-enable') -- cgit v1.2.3-24-g4f1b