0
오류 URL 매개 변수 때 폼 젠드 프레임 워크의 요소 (2)
...
'may_terminate' => true,
'child_routes' => array(
'resetpassword' => array(
'type' => 'Literal',
'options' => array(
'route' => '/reset-password',
'defaults' => array(
'controller' => 'User\Controller\Index',
'action' => 'resetpassword',
),
),
),
)
...
module.config.php
에서 내가 $form->setAttribute('action', $this->url('user/resetpassword'));
가 정상 설정하면
<?php
$user_id = 1;
$token = 'ABCXYZ'
$form = $this->form;
$form->prepare();
$form->setAttribute('action', $this->url('user/resetpassword?user_id='.$user_id.'&token='.$token));
$form->setAttribute('id', 'reset-password-form');
?>
로 .phtml 암호를 재설정 형성하지만, 저장 설정 PARAMS가 함께 USER_ID 때 토큰 => 오류 해결 방법?