Index: branches/dev/html/mobile/mypage/index.php
===================================================================
--- branches/dev/html/mobile/mypage/index.php	(revision 11460)
+++ branches/dev/html/mobile/mypage/index.php	(revision 11648)
@@ -30,4 +30,7 @@
 $objPage = sfGetPageLayout($objPage, false, "mypage/index.php");
 
+// ·ÈÂÓÃ¼ËöID¤¬°ìÃ×¤¹¤ë²ñ°÷¤¬Â¸ºß¤¹¤ë¤«¤É¤¦¤«¤ò¥Á¥§¥Ã¥¯¤¹¤ë¡£
+$objPage->tpl_valid_phone_id = $objCustomer->checkMobilePhoneId();
+
 // ¥í¥°¥¤¥ó½èÍý
 if($_POST['mode'] == 'login') {
@@ -44,5 +47,6 @@
 
 	if (count($arrErr) == 0){
-		if($objCustomer->getCustomerDataFromEmailPass($arrForm['login_pass'], $arrForm['login_email'])) {
+		if($objCustomer->getCustomerDataFromMobilePhoneIdPass($arrForm['login_pass']) ||
+		   $objCustomer->getCustomerDataFromEmailPass($arrForm['login_pass'], $arrForm['login_email'], true)) {
 			// ¥í¥°¥¤¥ó¤¬À®¸ù¤·¤¿¾ì¹ç¤Ï·ÈÂÓÃ¼ËöID¤òÊÝÂ¸¤¹¤ë¡£
 			$objCustomer->updateMobilePhoneId();
@@ -72,5 +76,5 @@
 
 // ¥í¥°¥¤¥ó¥Á¥§¥Ã¥¯
-if(!isset($_SESSION['customer'])) {
+if(!$objCustomer->isLoginSuccess()) {
 	$objPage->tpl_mainpage = 'mypage/login.tpl';
 	$objView->assignArray($objFormParam->getHashArray());
