src/Eccube/Controller/Mypage/MypageController.php 1 location
|
@@ 128-133 (lines=6) @@
|
| 125 |
|
$builder = $this->formFactory |
| 126 |
|
->createNamedBuilder('', CustomerLoginType::class); |
| 127 |
|
|
| 128 |
|
if ($app->isGranted('IS_AUTHENTICATED_REMEMBERED')) { |
| 129 |
|
$Customer = $app->user(); |
| 130 |
|
if ($Customer) { |
| 131 |
|
$builder->get('login_email')->setData($Customer->getEmail()); |
| 132 |
|
} |
| 133 |
|
} |
| 134 |
|
|
| 135 |
|
$event = new EventArgs( |
| 136 |
|
array( |
src/Eccube/Controller/ShoppingController.php 1 location
|
@@ 523-528 (lines=6) @@
|
| 520 |
|
/* @var $form \Symfony\Component\Form\FormInterface */ |
| 521 |
|
$builder = $this->formFactory->createNamedBuilder('', CustomerLoginType::class); |
| 522 |
|
|
| 523 |
|
if ($app->isGranted('IS_AUTHENTICATED_REMEMBERED')) { |
| 524 |
|
$Customer = $app->user(); |
| 525 |
|
if ($Customer) { |
| 526 |
|
$builder->get('login_email')->setData($Customer->getEmail()); |
| 527 |
|
} |
| 528 |
|
} |
| 529 |
|
|
| 530 |
|
$event = new EventArgs( |
| 531 |
|
array( |