diff --git a/src/Vkontakte.php b/src/Vkontakte.php index 68a0d05..b789903 100644 --- a/src/Vkontakte.php +++ b/src/Vkontakte.php @@ -171,6 +171,9 @@ class Vkontakte extends AbstractProvider if (!empty($additional['email'])) { $response['email'] = $additional['email']; } + if (!empty($response['uid']) && 4 === floor($this->version)) { + $response['id'] = $response['uid']; + } if (!empty($additional['user_id'])) { $response['id'] = $additional['user_id']; }