forked from science-ation/science-ation
Don't send back the username
This commit is contained in:
parent
cb7033f7ae
commit
81a9d3ecfd
@ -393,7 +393,7 @@ function handle_award_additional_materials(&$u, &$fair, &$data, &$response)
|
|||||||
$u = user_load_by_email($username);
|
$u = user_load_by_email($username);
|
||||||
if($u == false) {
|
if($u == false) {
|
||||||
$response['error'] = 1;
|
$response['error'] = 1;
|
||||||
$response['message'] = "Authentication Failed for $username";
|
$response['message'] = "Authentication Failed";
|
||||||
echo json_encode($response);
|
echo json_encode($response);
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user