TheDJ has uploaded a new change for review.
https://gerrit.wikimedia.org/r/323381
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(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/OATHAuth
refs/changes/81/323381/1
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: newchange
Gerrit-Change-Id: Ib059cef70a86c6f0430719a799ce20c1b869d316
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/OATHAuth
Gerrit-Branch: master
Gerrit-Owner: TheDJ <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits