mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-11 04:52:14 +09:00
어플 로그인시 전화번호가 만약 회원정보에 없다면 로그인 실패메세지 출력
This commit is contained in:
parent
b9d952a401
commit
4309614bba
1 changed files with 8 additions and 1 deletions
|
|
@ -239,9 +239,16 @@ class Device extends \member
|
||||||
$user_id = $member_info->email_address;
|
$user_id = $member_info->email_address;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
|
if(isset($member_info->phone_number))
|
||||||
{
|
{
|
||||||
$user_id = $member_info->phone_number;
|
$user_id = $member_info->phone_number;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
return new \BaseObject(-1, 'LOGIN_FAILED');
|
||||||
|
}
|
||||||
|
}
|
||||||
$output = \memberController::getInstance()->doLogin($user_id);
|
$output = \memberController::getInstance()->doLogin($user_id);
|
||||||
if(!$output->toBool())
|
if(!$output->toBool())
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue