1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 05:50:42 +02:00

[ticket/11327] Move UCP remind functionality to a controller for password reset

PHPBB3-11327
This commit is contained in:
Marc Alexander
2019-08-08 22:01:51 +02:00
parent 9cb22f008d
commit 3f852a3233
7 changed files with 31 additions and 3 deletions

View File

@@ -63,8 +63,10 @@ switch ($mode)
break;
case 'sendpassword':
$module->load('ucp', 'remind');
$module->display($user->lang['UCP_REMIND']);
/** @var \phpbb\controller\helper $controller_helper */
$controller_helper = $phpbb_container->get('controller.helper');
redirect($controller_helper->route('phpbb_ucp_reset_password_controller'));
break;
case 'register':