>.>
This commit is contained in:
parent
ca7633ba28
commit
0624ea48ec
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ class AuthController extends Controller
|
||||||
public function logout(): string
|
public function logout(): string
|
||||||
{
|
{
|
||||||
if (!session_check()) {
|
if (!session_check()) {
|
||||||
return $this->json(['error' => 'Logout failed.', 'a' => $_REQUEST]);
|
return $this->json(['error' => 'Logout failed.']);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Destroy the active session
|
// Destroy the active session
|
||||||
|
|
Reference in a new issue