Update api.php
Let's also strtolower the email on php-side. We forced python to save emails lower-cased, so we will request emails lower-cased too.
This commit is contained in:
parent
83ca154b7c
commit
76e2de57f7
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue