minor fixed
This commit is contained in:
parent
2017b71a20
commit
e334c14fe6
@ -11,7 +11,7 @@ $user = validate_user();
|
|||||||
if (!$user->valid) {
|
if (!$user->valid) {
|
||||||
http_response_code(403);
|
http_response_code(403);
|
||||||
header("Content-Type: applcation/json");
|
header("Content-Type: applcation/json");
|
||||||
echo json_encode(array('status' => 'invalid'));
|
echo json_encode(array('status' => 'novalid'));
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user