KartikMistry has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/249728

Change subject: CX: Fix ContentTranslationCXServerAuth
......................................................................

CX: Fix ContentTranslationCXServerAuth

This is an array.

Change-Id: Ic99f37a5fb7d74671bec8122a5754af522ce0515
---
M wmf-config/CommonSettings.php
1 file changed, 6 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/28/249728/1

diff --git a/wmf-config/CommonSettings.php b/wmf-config/CommonSettings.php
index 64d510d..87376c6 100755
--- a/wmf-config/CommonSettings.php
+++ b/wmf-config/CommonSettings.php
@@ -2691,8 +2691,12 @@
 
        $wgContentTranslationEnableSuggestions = 
$wmgContentTranslationEnableSuggestions;
 
-       //This is set in PrivateSettings.php
-       $wgContentTranslationCXServerAuth = $wmgContentTranslationCXServerAuth;
+       $wgContentTranslationCXServerAuth = array {
+               'algorithm' = 'HS256',
+               //This is set in PrivateSettings.php
+               'key' = $wmgContentTranslationCXServerAuthKey,
+               'age' = '3600',
+       }
 }
 
 // @note getRealmSpecificFilename only works with filenames with .suffix

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic99f37a5fb7d74671bec8122a5754af522ce0515
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: KartikMistry <[email protected]>

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

Reply via email to