X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/a2104107771eb06e5f3cdbfe5ebb58fe86fe8b14..57ee30ffe5e6106f3cbd9a91c1599eb5b51e8c36:/cookbooks/mediawiki/templates/default/LocalSettings.php.erb diff --git a/cookbooks/mediawiki/templates/default/LocalSettings.php.erb b/cookbooks/mediawiki/templates/default/LocalSettings.php.erb index 115bfedd2..51b33115b 100644 --- a/cookbooks/mediawiki/templates/default/LocalSettings.php.erb +++ b/cookbooks/mediawiki/templates/default/LocalSettings.php.erb @@ -26,11 +26,9 @@ $wgScriptExtension = ".php"; $wgServer = "//<%= @name %>"; $wgInternalServer = 'https://<%= @name %>'; -<% if @mediawiki[:ssl_enabled] -%> $wgSecureLogin = true; $wgDefaultUserOptions['prefershttps'] = 1; -<% end -%> -$wgCookieSecure = false; +$wgCookieSecure = true; ## The relative URL path to the skins directory $wgStylePath = "$wgScriptPath/skins";