From c0f2faead4e515240d6bc63e921bc6f3fcfcdc8b Mon Sep 17 00:00:00 2001 From: Daniel Winzen Date: Sat, 17 Oct 2020 13:22:09 +0200 Subject: [PATCH] Setup needs to be accessible without POST --- chat.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chat.php b/chat.php index 205348c..f92ea0d 100644 --- a/chat.php +++ b/chat.php @@ -144,7 +144,7 @@ function route(){ }elseif($_REQUEST['action']==='admin' && isPOST()){ check_session(); send_admin(route_admin()); - }elseif($_REQUEST['action']==='setup' && isPOST()){ + }elseif($_REQUEST['action']==='setup'){ route_setup(); }else{ send_login();