From 621dea28bd2c4a0046e0a7209f43bf28d550fb0d Mon Sep 17 00:00:00 2001 From: Andrey Kuvshinov Date: Fri, 29 May 2020 18:01:28 +0000 Subject: [PATCH] correct test password client --- app/routes/auth.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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']); } }