From 07e72548f5cc2c4259db2447e0582bd4ef75c5ea Mon Sep 17 00:00:00 2001 From: StorytellerCZ Date: Tue, 12 Jan 2016 13:07:40 +0100 Subject: [PATCH] fix #595 --- CHANGELOG | 5 ++++- .../hybridauth-digitalocean/Providers/DigitalOcean.php | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 10893b35e..02eaf5c24 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,6 +1,6 @@ Hybridauth Change log ===================== -2.6.0 - [not released] +2.6.0 - January XX 2016 New providers: #546 + #547 - GitLab OAuth2 #577 - MixCloud @@ -14,9 +14,12 @@ Hybridauth Change log #567 - [Odnoklassniki] Get better size of user avatar #570 - [odnoklassniki] Improve error reporting #571 - [Hybrid_Endpoint] Improve error reporting + #576 - Improve logging and error handling in main providers + #598 - Update GitLab API points, fix LastFM typo, refactor file/folder structure stack exchange Fixes: #575 - [Steam] Fix Steam profileUrl #578 - [Odnoklassniki] new link + #595 - [DigitalOcean] Removing location 2.5.1 - October 12 2015 Fixes: diff --git a/additional-providers/hybridauth-digitalocean/Providers/DigitalOcean.php b/additional-providers/hybridauth-digitalocean/Providers/DigitalOcean.php index 0033a0a35..a748de0a6 100644 --- a/additional-providers/hybridauth-digitalocean/Providers/DigitalOcean.php +++ b/additional-providers/hybridauth-digitalocean/Providers/DigitalOcean.php @@ -115,7 +115,7 @@ function getUserProfile() $this->user->profile->identifier = @ $data->account->uuid; $this->user->profile->displayName = @ $data->account->email; // No display name value from the API so we use email $this->user->profile->email = @ $data->account->email; - $this->user->profile->region = @ $data->account->location; + //$this->user->profile->region = @ $data->account->location; // Digital ocean returns a flag marking the email as verified or not // We compare this to the email in use and set the emailVerified