Page MenuHomePhabricator

0001-Allow-blocked-users-to-access-Special-ResetTokens.patch

Authored By
matmarex
Mar 10 2021, 4:19 PM
Size
930 B
Referenced Files
None
Subscribers
None

0001-Allow-blocked-users-to-access-Special-ResetTokens.patch

From c954cc85ea84ad3fece9bd34f7f80d23fa685595 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bartosz=20Dziewo=C5=84ski?= <matma.rex@gmail.com>
Date: Wed, 10 Mar 2021 17:16:07 +0100
Subject: [PATCH] Allow blocked users to access Special:ResetTokens
Bug: T277009
Change-Id: I6864bc0a7cba48107aa4b6d367f8ff55a28ad677
---
includes/specials/SpecialResetTokens.php | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/includes/specials/SpecialResetTokens.php b/includes/specials/SpecialResetTokens.php
index 792f3888e56..8fc2e82c29a 100644
--- a/includes/specials/SpecialResetTokens.php
+++ b/includes/specials/SpecialResetTokens.php
@@ -38,6 +38,10 @@ class SpecialResetTokens extends FormSpecialPage {
return true;
}
+ public function requiresUnblock() {
+ return false;
+ }
+
/**
* Returns the token information list for this page after running
* the hook and filtering out disabled preferences.
--
2.28.0.windows.1

File Metadata

Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
8917876
Default Alt Text
0001-Allow-blocked-users-to-access-Special-ResetTokens.patch (930 B)

Event Timeline