1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +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

@@ -27,6 +27,7 @@ imports:
- { resource: services_text_formatter.yml }
- { resource: services_text_reparser.yml }
- { resource: services_twig.yml }
- { resource: services_ucp.yml }
- { resource: services_user.yml }
- { resource: tables.yml }

View File

@@ -0,0 +1,15 @@
services:
phpbb.ucp.controller.reset_password:
class: phpbb\ucp\controller\reset_password
arguments:
- '@config'
- '@dbal.conn'
- '@dispatcher'
- '@controller.helper'
- '@language'
- '@passwords.manager'
- '@request'
- '@template'
- '@user'
- '%core.root_path%'
- '%core.php_ext%'

View File

@@ -26,3 +26,7 @@ phpbb_help_routing:
phpbb_report_routing:
resource: report.yml
phpbb_ucp_routing:
resource: ucp.yml
prefix: /user

View File

@@ -0,0 +1,3 @@
phpbb_ucp_reset_password_controller:
path: /reset_password
defaults: { _controller: phpbb.ucp.controller.reset_password:handle }