Skip to content

Commit

Permalink
Workaround for moan0s#89
Browse files Browse the repository at this point in the history
Adds a echo command for the http response code in line 25 of the html response.
  • Loading branch information
Sebastian1515 committed Oct 28, 2021
1 parent 7083e2f commit 0bebf86
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -510,20 +510,24 @@
if($oData->aAccess = $oAccess->check_access($UID, $access_key)){
#Access is correct
http_response_code(200);
echo(200);
}
else{
#No access
http_response_code(401);
echo(401);
}
}
else{
#No access
http_response_code(401);
echo(401);
}
}
else{
#No access
http_response_code(401);
echo(401);
}
break;

Expand Down

0 comments on commit 0bebf86

Please sign in to comment.