summaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
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')