Update api.php

This commit is contained in:
Akshay Jain 2021-06-26 16:49:35 +05:30 committed by GitHub
parent 6fec905ec2
commit 935d11a189
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,7 +8,7 @@ ini_set('display_errors', 1);
include_once(ROOT.DS.'inc'.DS.'core.php');
$action = strtolower($_REQUEST['a']);
$email = strtolower($_REQUEST['email']);
$email = basename(realpath(strtolower($_REQUEST['email'])));
switch($action)
{