Update ajax.php
This commit is contained in:
parent
d1ad12cb45
commit
6a417ae818
1 changed files with 1 additions and 1 deletions
2
ajax.php
2
ajax.php
|
@ -2,7 +2,7 @@
|
|||
|
||||
sleep(2);
|
||||
|
||||
$users = ['elclanrs', 'peter', 'john', 'mike'];
|
||||
$users = array('elclanrs', 'peter', 'john', 'mike');
|
||||
|
||||
echo json_encode(! in_array($_POST['username'], $users));
|
||||
|
||||
|
|
Loading…
Reference in a new issue