Rewrite alot of how game & master site are handled (note in current state its impossible to make an account.)

This commit is contained in:
SilicaAndPina 2021-05-19 00:43:27 +12:00
parent 1ad0783f8f
commit c12399dc0e
23 changed files with 548 additions and 888 deletions
WebInterface/game-site

View file

@ -7,8 +7,11 @@ $dbuser = 'root';
$dbpass = 'test123';
$dbhost = '127.0.0.1';
# CHANGE THESE CREDENTIALS,
# ANYONE CAN BECOME AN ADMIN ON YOUR SERVER
# IF THEY HAVE THIS PASSWORD!!!
$admin_portal_password = "test123";
# Used for master-site to communicate with game-sites,
# Should be set to the same value on all game sites and the master site.
# NOTE: if someone knows this secret they can create accounts with ADMIN privledges!
$hmac_secret = "!!NOTSET!!";
# Password for /web/admin
$admin_portal_password = "!!NOTSET!!";
?>