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); ?>