X-Git-Url: http://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fspecials%2FSpecialPasswordReset.php;h=51fcae793936d1a41c2237f1d4fa6556bcaca50d;hp=84292f3ed99e40012e78faa4d42180d3c5d82e01;hb=66c91ac85b26c042b3d07255d1d7954be507699b;hpb=28cf457c18df8b25a1aa88228ce3110a807c5148 diff --git a/includes/specials/SpecialPasswordReset.php b/includes/specials/SpecialPasswordReset.php index 84292f3ed9..51fcae7939 100644 --- a/includes/specials/SpecialPasswordReset.php +++ b/includes/specials/SpecialPasswordReset.php @@ -74,6 +74,15 @@ class SpecialPasswordReset extends FormSpecialPage { parent::checkExecutePermissions( $user ); } + /** + * @param string $par + */ + public function execute( $par ) { + $out = $this->getOutput(); + $out->disallowUserJs(); + parent::execute( $par ); + } + protected function getFormFields() { $resetRoutes = $this->getConfig()->get( 'PasswordResetRoutes' ); $a = [];