Update the default implementation of FormSpecialPage::checkExecutePermissions() so that a Special page is only blocked if the user has a sitewide block. This change allows the user to continue performing critical functions (like resetting their password) even if they are partially blocked. Bug: T209097 Change-Id: I5190297b7b235b6ebbdfa522323ce9bbd46b6729
10 lines
181 B
PHP
10 lines
181 B
PHP
<?php
|
|
|
|
class SpecialPasswordResetTest extends FormSpecialPageTestCase {
|
|
/**
|
|
* {@inheritdoc}
|
|
*/
|
|
protected function newSpecialPage() {
|
|
return new SpecialPasswordReset();
|
|
}
|
|
}
|