카카오로그인 연동 방식 변경
-oauth 테이블 삭제 -비밀번호 변경 기능 추가(카카오톡 나에게 보내기)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
require_once('_common.php');
|
||||
require('lib.join.php');
|
||||
require(ROOT.'/f_func/class._Time.php');
|
||||
require_once(ROOT.'/f_func/class._Time.php');
|
||||
require('kakao.php');
|
||||
|
||||
use utilphp\util as util;
|
||||
@@ -142,16 +142,6 @@ if($emailChk !== true){
|
||||
}
|
||||
|
||||
//모든 절차 종료. 등록.
|
||||
getRootDB()->insert('auth_kakao',[
|
||||
'id'=>$kakaoID,
|
||||
'access_token'=>$access_token,
|
||||
'refresh_token'=>$refresh_token,
|
||||
'expires'=>$expires,
|
||||
'refresh_token_expires'=>$refresh_token_expires,
|
||||
'datetime'=>$nowDate,
|
||||
'email'=>$email
|
||||
]);
|
||||
|
||||
getRootDB()->insert('member',[
|
||||
'oauth_id' => $kakaoID,
|
||||
'oauth_type' => 'KAKAO',
|
||||
|
||||
Reference in New Issue
Block a user