Browse Source

score plots: allow for users who are not logged in

acma
Fabian Kurz 2 years ago
parent
commit
58f35caa12
  1. 2
      api.php

2
api.php

@ -1,7 +1,7 @@
<?
session_start();
if (!array_key_exists('id', $_SESSION)) {
if (!array_key_exists('id', $_SESSION) and $_GET['action'] != 'plot') {
echo "Not logged in. Please refresh your login.";
return;
}

Loading…
Cancel
Save