Обучение #39

Merged
lopar merged 15 commits from maksym into dev 2023-01-23 11:45:10 +00:00
Showing only changes of commit dcc6a1337c - Show all commits

View File

@ -31,7 +31,7 @@ if(!empty($user->info)) {
}
if (!isset($data->token) || !password_verify(
$training->getDatabaseData()->api_token . $data->time . $user->info['id'],
$training->getDatabaseData()['api_token'] . $data->time . $user->info['id'],
$data->token
)) {
http_response_code(401);