From d1be4995e2415313a99ecf8d091195e88d95453f Mon Sep 17 00:00:00 2001 From: Maksym Date: Wed, 18 Jan 2023 13:00:56 +0100 Subject: [PATCH] =?UTF-8?q?=D0=A3=D0=B1=D1=80=D0=B0=D0=BB=20notise?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules_data/steps/step.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules_data/steps/step.php b/modules_data/steps/step.php index 70e68993..49b31cb6 100644 --- a/modules_data/steps/step.php +++ b/modules_data/steps/step.php @@ -19,7 +19,7 @@ $step = $manager->getRegistered()[$short_name]; $button_text = 'Продолжить'; $time = time(); -$token = password_hash($manager->getDatabaseData()->api_token . $time . $user->info['id'], PASSWORD_DEFAULT); +$token = password_hash($manager->getDatabaseData()['api_token'] . $time . $user->info['id'], PASSWORD_DEFAULT); ?>