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:
@@ -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 }
|
||||
|
15
phpBB/config/default/container/services_ucp.yml
Normal file
15
phpBB/config/default/container/services_ucp.yml
Normal 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%'
|
@@ -26,3 +26,7 @@ phpbb_help_routing:
|
||||
|
||||
phpbb_report_routing:
|
||||
resource: report.yml
|
||||
|
||||
phpbb_ucp_routing:
|
||||
resource: ucp.yml
|
||||
prefix: /user
|
||||
|
3
phpBB/config/default/routing/ucp.yml
Normal file
3
phpBB/config/default/routing/ucp.yml
Normal file
@@ -0,0 +1,3 @@
|
||||
phpbb_ucp_reset_password_controller:
|
||||
path: /reset_password
|
||||
defaults: { _controller: phpbb.ucp.controller.reset_password:handle }
|
Reference in New Issue
Block a user