public static function getUserEmail($user, $provider)
{
if($provider == 'vkontakte') {
return $user->accessTokenResponseBody['email'] ?? null;
}
return $user->email;
}
'components' => [
'assetManager' => [
'bundles' => false,
],
],
//fonts.googleapis.com/...
<link rel="shortcut icon" href="http://domain.ru/favicon.ico" type="image/x-icon">