summaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2015-09-09 06:02:45 +0200
committerByron Jones <glob@mozilla.com>2015-09-09 06:02:45 +0200
commit59b90641ea4bb7eaa651d2fa0d782c756647b3ec (patch)
tree7933745dd859b7917d6d408df3f7cafa4358050f /js
parent8c4a70129847e2a76f7ffcd321ec59f49258a3e4 (diff)
downloadbugzilla-59b90641ea4bb7eaa651d2fa0d782c756647b3ec.tar.gz
bugzilla-59b90641ea4bb7eaa651d2fa0d782c756647b3ec.tar.xz
Bug 1201954 - Add a "forgot password" link to user preferences -> account
Diffstat (limited to 'js')
-rw-r--r--js/account.js8
1 files changed, 8 insertions, 0 deletions
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')