fix error msg
This commit is contained in:
1 parent
a0afeabb27
commit
3d8c4291be
1 file changed
+6
-1
+6
-1
@@ -51,7 +51,12 @@ if (!in_array($token, $validTokens)) {
|
||||
true,
|
||||
);
|
||||
|
||||
echo $error;
|
||||
echo json_encode(
|
||||
[
|
||||
"error" => "Unauthorized",
|
||||
"Contact" => "bruno.eckhardt07@gmail.com",
|
||||
]
|
||||
);
|
||||
exit;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user