소셜로그인 : 소셜로그인 가입 시 본인인증 로직 추가

This commit is contained in:
projectSylas
2021-09-15 02:15:15 +00:00
parent 28dbc78cdc
commit 0f527be72e
5 changed files with 778 additions and 680 deletions

View File

@ -25,6 +25,7 @@ $is_exists_social_account = social_before_join_check($url);
$user_nick = social_relace_nick($user_profile->displayName);
$user_email = isset($user_profile->emailVerified) ? $user_profile->emailVerified : $user_profile->email;
$user_id = $user_profile->sid ? preg_replace("/[^0-9a-z_]+/i", "", $user_profile->sid) : get_social_convert_id($user_profile->identifier, $provider_name);
$user_phone = $user_profile->phone;
if(! $user_nick) {
$tmp = explode('_', $user_id);