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

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(-)

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



diff --git a/wmf-config/CommonSettings.php b/wmf-config/CommonSettings.php
index 64d510d..e380ea0 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: merged
Gerrit-Change-Id: Ic99f37a5fb7d74671bec8122a5754af522ce0515
Gerrit-PatchSet: 3
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: KartikMistry <[email protected]>
Gerrit-Reviewer: Chad <[email protected]>
Gerrit-Reviewer: KartikMistry <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to