diff --git a/hosts/vm/mediakiwi/mediawiki.nix b/hosts/vm/mediakiwi/mediawiki.nix index 6279eb9..9e9d87a 100644 --- a/hosts/vm/mediakiwi/mediawiki.nix +++ b/hosts/vm/mediakiwi/mediawiki.nix @@ -96,7 +96,7 @@ in ]; $wgPasswordSender = 'root@crans.org'; $wgEmergencyContact = 'contact@crans.org'; - $wgNoReplyAddress = 'root@crans.org'; + $wgNoReplyAddress = 'contact@crans.org'; # On reçoit les réponses aux mails $wgEnableUserEmail = false; $wgAllowHTMLEmail = true; @@ -110,7 +110,7 @@ in $wgUsersNotifiedOnAllChanges = []; # Auth - $wgPluggableAuth_EnableLocalLogin = true; + $wgPluggableAuth_EnableLocalLogin = false; $LDAPAuthentication2AllowLocalLogin = true; $LDAPProviderDomainConfigs = "${config.age.secrets.mediawiki-ldap.path}"; $wgOAuthCustomAuthProviders = [ @@ -178,13 +178,6 @@ in $wgNamespacesWithSubpages[NS_MAIN] = true; $wgNamespacesWithSubpages[NS_ARCHIVE] = true; $wgVisualEditorAvailableNamespaces[NS_ARCHIVE] = true; - - # Debug - $wgShowExceptionDetails = true; - $wgDebugToolbar = true; - $wgDebugLogFile = "/var/log/mediawiki/debug.log"; - # $wgShowDebug = true; - # $wgDevelopmentWarnings = true; ''; skins = {