From 2c13ecf9dd9c32a95e968272904b37a34347fcb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=BC=D0=B8=D1=82=D1=80=D0=B8=D0=B9=20=D0=9C=D0=B5?= =?UTF-8?q?=D0=BD=D1=8C=D1=89=D0=B8=D0=BA=D0=BE=D0=B2?= Date: Mon, 19 Oct 2020 16:18:40 +0500 Subject: [PATCH] Added receiving email field in the marilru provider. --- src/OAuth2/Provider/MailRu.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/OAuth2/Provider/MailRu.php b/src/OAuth2/Provider/MailRu.php index c6e2ac18b..0dd5ebb98 100644 --- a/src/OAuth2/Provider/MailRu.php +++ b/src/OAuth2/Provider/MailRu.php @@ -116,6 +116,7 @@ public function getIdentity(AccessTokenInterface $accessToken) $hydrator = new ArrayHydrator([ 'uid' => 'id', + 'email' => 'email', 'first_name' => 'firstname', 'last_name' => 'lastname', 'nick' => 'username',