Redirection
This commit is contained in:
@@ -32,7 +32,6 @@ if (isset($_COOKIE['remember_me_token'])) {
|
|||||||
$_SESSION = [];
|
$_SESSION = [];
|
||||||
session_destroy();
|
session_destroy();
|
||||||
|
|
||||||
header('Content-Type: application/json');
|
header("Location: index.html");
|
||||||
echo json_encode(["success" => "Logged out"]);
|
|
||||||
exit;
|
exit;
|
||||||
?>
|
?>
|
||||||
Reference in New Issue
Block a user