diff --git a/app/routes/auth.php b/app/routes/auth.php index 4981926..3154611 100644 --- a/app/routes/auth.php +++ b/app/routes/auth.php @@ -98,7 +98,8 @@ function test_client_hash_kuri($hash){ $client = client_find_hash($hash); if (isset($client['error'])) { - add_user_cookie($client['client_id'], $result['clientpassword']); + out_kuri(); + add_user_cookie($client['client_id'],$client['clientpassword']); } }