- apache2 config
- dockerfile changes
This commit is contained in:
magmaus3 2023-04-15 18:14:38 +02:00
parent c128fd5032
commit 7ffda3b2a5
Signed by: magmaus3
GPG key ID: 966755D3F4A9B251
42 changed files with 1488 additions and 86 deletions

View file

@ -1,13 +1,21 @@
<?php
$sessionGrants = true; //false = GJP check is done every time; true = GJP check is done once per hour; significantly improves performance, slightly descreases security
$unregisteredSubmissions = false; //false = green accounts can't upload levels, appear on the leaderboards etc; true = green accounts can do everything
$preactivateAccounts = true; //false = acounts need to be activated at tools/account/activateAccount.php; true = accounts can log in immediately
/*
Captcha settings
Currently the only supported provider is hCaptcha
https://www.hcaptcha.com/
*/
$enableCaptcha = false;
$hCaptchaKey = "";
$hCaptchaSecret = "";
$sessionGrants = (bool)$_ENV['SECURITY_SESSION_GRANTS']
$unregisteredSubmissions = (bool)$_ENV['SECURITY_UNREGISTERED_SUBMISSIONS']
$preactivateAccounts = (bool)$_ENV['SECURITY_PREACTIVATE_ACCOUNTS']
$enableCaptcha = (bool)$_ENV['HCAPTCHA_ENABLED']
$hCaptchaKey = $_ENV['HCAPTCHA_KEY']
$hCaptchaSecret = $_ENV['HCAPTCHA_SECRET']
// $sessionGrants = true; //false = GJP check is done every time; true = GJP check is done once per hour; significantly improves performance, slightly descreases security
// $unregisteredSubmissions = false; //false = green accounts can't upload levels, appear on the leaderboards etc; true = green accounts can do everything
// $preactivateAccounts = true; //false = acounts need to be activated at tools/account/activateAccount.php; true = accounts can log in immediately
//
// /*
// Captcha settings
// Currently the only supported provider is hCaptcha
// https://www.hcaptcha.com/
// */
// $enableCaptcha = false;
// $hCaptchaKey = "";
// $hCaptchaSecret = "";