diff options
| author | Marc Alexander <admin@m-a-styles.de> | 2019-08-08 22:01:51 +0200 |
|---|---|---|
| committer | Marc Alexander <admin@m-a-styles.de> | 2019-08-08 22:01:51 +0200 |
| commit | 3f852a3233b2ee51c3fab7dc6d077778fd35e0fd (patch) | |
| tree | 8d1596774ad6482d325e66cf696a083fb57f13d6 /phpBB/config | |
| parent | 9cb22f008d5aa335fbb143cdf058a0a3f132f61d (diff) | |
| download | forums-3f852a3233b2ee51c3fab7dc6d077778fd35e0fd.tar forums-3f852a3233b2ee51c3fab7dc6d077778fd35e0fd.tar.gz forums-3f852a3233b2ee51c3fab7dc6d077778fd35e0fd.tar.bz2 forums-3f852a3233b2ee51c3fab7dc6d077778fd35e0fd.tar.xz forums-3f852a3233b2ee51c3fab7dc6d077778fd35e0fd.zip | |
[ticket/11327] Move UCP remind functionality to a controller for password reset
PHPBB3-11327
Diffstat (limited to 'phpBB/config')
| -rw-r--r-- | phpBB/config/default/container/services.yml | 1 | ||||
| -rw-r--r-- | phpBB/config/default/container/services_ucp.yml | 15 | ||||
| -rw-r--r-- | phpBB/config/default/routing/routing.yml | 4 | ||||
| -rw-r--r-- | phpBB/config/default/routing/ucp.yml | 3 |
4 files changed, 23 insertions, 0 deletions
diff --git a/phpBB/config/default/container/services.yml b/phpBB/config/default/container/services.yml index 3ead1e6181..2d4720029d 100644 --- a/phpBB/config/default/container/services.yml +++ b/phpBB/config/default/container/services.yml @@ -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 } diff --git a/phpBB/config/default/container/services_ucp.yml b/phpBB/config/default/container/services_ucp.yml new file mode 100644 index 0000000000..615a5698c4 --- /dev/null +++ b/phpBB/config/default/container/services_ucp.yml @@ -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%' diff --git a/phpBB/config/default/routing/routing.yml b/phpBB/config/default/routing/routing.yml index 199c5229b0..a5e9265dc3 100644 --- a/phpBB/config/default/routing/routing.yml +++ b/phpBB/config/default/routing/routing.yml @@ -26,3 +26,7 @@ phpbb_help_routing: phpbb_report_routing: resource: report.yml + +phpbb_ucp_routing: + resource: ucp.yml + prefix: /user diff --git a/phpBB/config/default/routing/ucp.yml b/phpBB/config/default/routing/ucp.yml new file mode 100644 index 0000000000..be97f597a0 --- /dev/null +++ b/phpBB/config/default/routing/ucp.yml @@ -0,0 +1,3 @@ +phpbb_ucp_reset_password_controller: + path: /reset_password + defaults: { _controller: phpbb.ucp.controller.reset_password:handle } |
