From dc0fc54aadf182f933db888b6491fd7fe10d9120 Mon Sep 17 00:00:00 2001 From: flashwave Date: Thu, 8 Dec 2016 19:04:27 +0100 Subject: [PATCH] remove stray testing code --- app/Controllers/AuthController.php | 2 +- resources/views/yuuno/master.twig | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/app/Controllers/AuthController.php b/app/Controllers/AuthController.php index 181a8221..3df954e 100644 --- a/app/Controllers/AuthController.php +++ b/app/Controllers/AuthController.php @@ -59,7 +59,7 @@ class AuthController extends Controller public function login(): string { if (!session_check()) { - return $this->json(['error' => 'Your session expired! Please refresh and try again.', 'a' => $_POST]); + return $this->json(['error' => 'Your session expired! Please refresh and try again.']); } // Get request variables diff --git a/resources/views/yuuno/master.twig b/resources/views/yuuno/master.twig index f1eeacf..c16fc23 100644 --- a/resources/views/yuuno/master.twig +++ b/resources/views/yuuno/master.twig @@ -100,7 +100,6 @@ ajax.AddCallback(200, function () { var result = ajax.JSON(); - console.log(result); if (result.error) { var diag = new Sakura.Dialogue;