I've noticed that if a regular user goes to admin.php they can change settings. How can we secure this?
It seems strange that this is allowed, but I can't find a real setting to control it. Does anyone know?
What I've done for now is change line 5 of /chat/admin/index.php to:
PHP Code:
if(!isset($_SESSION['userid']) or $_SESSION['userid'] != 1) {
That will only give userid #1 access.