From d766ed3e0c659d1286ce6b289206d6e4d9254612 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Mon, 5 Oct 2020 12:25:37 +0200 Subject: [PATCH] wiki: fix the if/else block on staging to the scope are correct Signed-off-by: Pierre-Yves Chibon --- roles/mediawiki/templates/LocalSettings.php.fp.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/mediawiki/templates/LocalSettings.php.fp.j2 b/roles/mediawiki/templates/LocalSettings.php.fp.j2 index ebc160c5ab..dbecd93321 100644 --- a/roles/mediawiki/templates/LocalSettings.php.fp.j2 +++ b/roles/mediawiki/templates/LocalSettings.php.fp.j2 @@ -528,7 +528,7 @@ $wgOpenIDConnect_Config['https://id{{ env_suffix }}.fedoraproject.org/openidc/'] 'clientsecret' => '{{ fpwiki_prod_client_secret }}', {% endif %} 'name' => "Fedora Authentication", -{% if env == "staging" %} +{% if env != "staging" %} 'scope' => [ 'openid', 'profile', 'email', 'https://id.fedoraproject.org/scope/groups', 'https://id.fedoraproject.org/scope/cla' ]