remove stray testing code
This commit is contained in:
parent
52b854291a
commit
dc0fc54aad
2 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -100,7 +100,6 @@
|
|||
|
||||
ajax.AddCallback(200, function () {
|
||||
var result = ajax.JSON();
|
||||
console.log(result);
|
||||
|
||||
if (result.error) {
|
||||
var diag = new Sakura.Dialogue;
|
||||
|
|
Reference in a new issue