This commit is contained in:
magmaus3 2023-04-14 10:35:51 +02:00
commit c128fd5032
Signed by: magmaus3
GPG key ID: 966755D3F4A9B251
12 changed files with 166 additions and 0 deletions

13
config/security.php Normal file
View file

@ -0,0 +1,13 @@
<?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 = "";