remove stray testing code

This commit is contained in:
Pachira 2016-12-08 19:04:27 +01:00
parent 52b854291a
commit dc0fc54aad
2 changed files with 1 additions and 2 deletions

View file

@ -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

View file

@ -100,7 +100,6 @@
ajax.AddCallback(200, function () {
var result = ajax.JSON();
console.log(result);
if (result.error) {
var diag = new Sakura.Dialogue;