diff --git a/web/api.php b/web/api.php index 9ce78bb..eb7ebbb 100644 --- a/web/api.php +++ b/web/api.php @@ -7,8 +7,8 @@ ini_set('display_errors', 1); include_once(ROOT.DS.'inc'.DS.'core.php'); -$action = $_REQUEST['a']; -$email = $_REQUEST['email']; +$action = strtolower($_REQUEST['a']); +$email = strtolower($_REQUEST['email']); switch($action) { @@ -108,4 +108,4 @@ switch($action) } echo json_encode($o); -//var_dump($o); \ No newline at end of file +//var_dump($o);