summaryrefslogtreecommitdiff
path: root/includes/SpecialResetpass.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/SpecialResetpass.php')
-rw-r--r--includes/SpecialResetpass.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/includes/SpecialResetpass.php b/includes/SpecialResetpass.php
index dc1e53c4..281a78b6 100644
--- a/includes/SpecialResetpass.php
+++ b/includes/SpecialResetpass.php
@@ -74,6 +74,8 @@ class PasswordResetForm extends SpecialPage {
function showForm() {
global $wgOut, $wgUser, $wgRequest;
+
+ $wgOut->disallowUserJs();
$self = SpecialPage::getTitleFor( 'Resetpass' );
$form =
@@ -160,4 +162,4 @@ class PasswordResetForm extends SpecialPage {
}
}
-?>
+