jenkins-bot has submitted this change and it was merged.
Change subject: OAuth -> OATH for used tokens memcache
......................................................................
OAuth -> OATH for used tokens memcache
Bug: T151536
Change-Id: Ib059cef70a86c6f0430719a799ce20c1b869d316
---
M OATHAuthKey.php
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Reedy: Looks good to me, approved
jenkins-bot: Verified
diff --git a/OATHAuthKey.php b/OATHAuthKey.php
index 0a4be15..f2f8834 100644
--- a/OATHAuthKey.php
+++ b/OATHAuthKey.php
@@ -90,7 +90,7 @@
// Prevent replay attacks
$memc = ObjectCache::newAnything( [] );
$uid = CentralIdLookup::factory()->centralIdFromLocalUser(
$user->getUser() );
- $memcKey = wfMemcKey( 'oauthauth', 'usedtokens', $uid );
+ $memcKey = wfMemcKey( 'oathauth', 'usedtokens', $uid );
$lastWindow = (int)$memc->get( $memcKey );
$retval = false;
--
To view, visit https://gerrit.wikimedia.org/r/323381
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ib059cef70a86c6f0430719a799ce20c1b869d316
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/OATHAuth
Gerrit-Branch: master
Gerrit-Owner: TheDJ <[email protected]>
Gerrit-Reviewer: Parent5446 <[email protected]>
Gerrit-Reviewer: Reedy <[email protected]>
Gerrit-Reviewer: TheDJ <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits