dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
SECURITY: Special:BotPasswords should reauthenticate
[lhc/web/wiklou.git]
/
includes
/
specials
/
SpecialBotPasswords.php
diff --git
a/includes/specials/SpecialBotPasswords.php
b/includes/specials/SpecialBotPasswords.php
index
f76c318
..
c912e83
100644
(file)
--- a/
includes/specials/SpecialBotPasswords.php
+++ b/
includes/specials/SpecialBotPasswords.php
@@
-51,6
+51,10
@@
class SpecialBotPasswords extends FormSpecialPage {
return $this->getConfig()->get( 'EnableBotPasswords' );
}
+ protected function getLoginSecurityLevel() {
+ return $this->getName();
+ }
+
/**
* Main execution point
* @param string|null $par