Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
네이버 소셜회원가입시 월/일 처리가 반대로 되는 현상 수정 (arrtres님,210727)
  • Loading branch information
kagla committed Jul 28, 2021
1 parent ed3143b commit 8ed56ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugin/social/Hybrid/Providers/Naver.php
Expand Up @@ -131,10 +131,10 @@ function getUserProfile()
if( array_key_exists('birthday',$data) ){
$tmp = explode("-",$data['birthday']);
if( isset($tmp[0]) ){
$this->user->profile->birthDay = $tmp[0];
$this->user->profile->birthMonth = $tmp[0];
}
if( isset($tmp[1]) ){
$this->user->profile->birthMonth = $tmp[1];
$this->user->profile->birthDay = $tmp[1];
}
}
$this->user->profile->email = (array_key_exists('email',$data))?$data['email']:"";
Expand Down

0 comments on commit 8ed56ec

Please sign in to comment.