Setup needs to be accessible without POST

This commit is contained in:
Daniel Winzen
2020-10-17 13:22:09 +02:00
parent 20a97070f8
commit c0f2faead4

View File

@ -144,7 +144,7 @@ function route(){
}elseif($_REQUEST['action']==='admin' && isPOST()){ }elseif($_REQUEST['action']==='admin' && isPOST()){
check_session(); check_session();
send_admin(route_admin()); send_admin(route_admin());
}elseif($_REQUEST['action']==='setup' && isPOST()){ }elseif($_REQUEST['action']==='setup'){
route_setup(); route_setup();
}else{ }else{
send_login(); send_login();