Merge pull request #22 from EOCommunity/patch-2

Update api.php
This commit is contained in:
Christian Haschek 2021-04-06 11:09:39 +02:00 committed by GitHub
commit 5bc61414d0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);
//var_dump($o);