jenkins-bot has submitted this change and it was merged.

Change subject: Disable page was using the OAuth throttler instead of OATH
......................................................................


Disable page was using the OAuth throttler instead of OATH

Follow-up to: Icbe5cdf
Bug: T151536
Change-Id: Id25eaa86f31aab20b1e597c0711b71ad109fbf77
---
M special/SpecialOATHDisable.php
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  BryanDavis: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/special/SpecialOATHDisable.php b/special/SpecialOATHDisable.php
index 2c06f22..f4bb01a 100644
--- a/special/SpecialOATHDisable.php
+++ b/special/SpecialOATHDisable.php
@@ -100,7 +100,7 @@
                // Don't increase pingLimiter, just check for limit exceeded.
                if ( $this->OATHUser->getUser()->pingLimiter( 'badoath', 0 ) ) {
                        // Arbitrary duration given here
-                       return [ 'oauthauth-throttled', Message::durationParam( 
60 ) ];
+                       return [ 'oathauth-throttled', Message::durationParam( 
60 ) ];
                }
 
                if ( !$this->OATHUser->getKey()->verifyToken( 
$formData['token'], $this->OATHUser ) ) {

-- 
To view, visit https://gerrit.wikimedia.org/r/323380
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Id25eaa86f31aab20b1e597c0711b71ad109fbf77
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/OATHAuth
Gerrit-Branch: master
Gerrit-Owner: TheDJ <[email protected]>
Gerrit-Reviewer: BryanDavis <[email protected]>
Gerrit-Reviewer: GergÅ‘ Tisza <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to