Plugin Directory

Changeset 1830625


Ignore:
Timestamp:
02/28/2018 07:03:19 AM (8 years ago)
Author:
kagla
Message:

0.1.4 update

Location:
wsl-login-extends-naver/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • wsl-login-extends-naver/trunk/providers/Naver.php

    r1480349 r1830625  
    111111        # store the user profile.
    112112        $this->user->profile->identifier    = (array_key_exists('enc_id',$data))?$data['enc_id']:"";
     113        if(!$this->user->profile->identifier){
     114            $this->user->profile->identifier    = (array_key_exists('id',$data))?$data['id']:"";
     115        }
    113116        $this->user->profile->age           = (array_key_exists('age',$data))?$data['age']:"";
    114117        $this->user->profile->displayName   = (array_key_exists('nickname',$data))?$data['nickname']:"";
     
    133136        $this->user->profile->emailVerified = (array_key_exists('email',$data))?$data['email']:"";
    134137        $this->user->profile->gender        = (array_key_exists('gender',$data))?(($data['gender'] == "M")?"male":"female"):"";
    135         $this->user->profile->photoURL      = (array_key_exists('profile_image',$data))?$data['profile_image']:"";
     138        $this->user->profile->photoURL      = (array_key_exists('profile_image',$data))?$data['profile_image']:get_avatar_url('');
    136139
    137140        return $this->user->profile;
  • wsl-login-extends-naver/trunk/readme.txt

    r1737519 r1830625  
    4949== Changelog ==
    5050
     51= 0.1.4 =
     52Naver provider 관련 소스를 수정했습니다.
     53
    5154= 0.1.3 =
    5255kakao 에서 Client Secret 키를 적용할수 있게 수정했습니다.
  • wsl-login-extends-naver/trunk/wsl-login-extends-naver.php

    r1737519 r1830625  
    55 *  Author: SIR Soft
    66 *  Author URI: http://sir.co.kr
    7  *  Version: 0.1.3
     7 *  Version: 0.1.4
    88 *  Text Domain: SIR Soft
    99 */
Note: See TracChangeset for help on using the changeset viewer.