네이버 소셜 아이디로 가입시 이름을 가져오도록 수정

This commit is contained in:
thisgun
2018-06-05 09:39:15 +09:00
parent 2a4300b4b2
commit a069ec6c93
3 changed files with 3 additions and 2 deletions

View File

@ -118,7 +118,7 @@ class Hybrid_Providers_Naver extends Hybrid_Provider_Model_OAuth2
//$this->user->profile->identifier = (array_key_exists('enc_id',$data))?$data['enc_id']:"";
$this->user->profile->identifier = (array_key_exists('id',$data))?$data['id']:"";
$this->user->profile->age = (array_key_exists('age',$data))?$data['age']:"";
$this->user->profile->displayName = '';
$this->user->profile->username = (array_key_exists('name', $data)) ? $data['name'] : "";
/*
if( array_key_exists('email',$data) ){
$tmp = explode("@", $data['email']);