Miteruzo 1 year ago
parent
commit
5933855469
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      auth_user.php

+ 2
- 2
auth_user.php View File

@@ -11,7 +11,7 @@ $pass = $_GET['pass'];
$user = User :: find ($id);

if ($user -> pass === $pass)
echo implode (',', [$user -> name]);
echo implode (',', [1, $user -> name]);
else
echo 'error';
echo '0';


Loading…
Cancel
Save