Косяк.

This commit is contained in:
Maksym 2023-01-18 13:26:49 +01:00
parent d1be4995e2
commit dcc6a1337c

View File

@ -31,7 +31,7 @@ if(!empty($user->info)) {
} }
if (!isset($data->token) || !password_verify( 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 $data->token
)) { )) {
http_response_code(401); http_response_code(401);