Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

overriding post forgot password doesn't work #114

Closed
anis-brahmi opened this issue Dec 16, 2022 · 1 comment
Closed

overriding post forgot password doesn't work #114

anis-brahmi opened this issue Dec 16, 2022 · 1 comment

Comments

@anis-brahmi
Copy link

Hello,
I'm trying to override post forgot password but its doesn't work for me.
i created my own controller to make my logic.

coop_tilleuls_forgot_password.update:
path: /forgot-password/{tokenValue}
methods: [ POST ]
defaults:
_controller: App\Controller\Action\UpdateResetPasswordActionController

--Error:
There is no extension able to load the configuration for "coop_tilleuls_forgot_password.update" (in "/var/www/html/config/packages/coop_tilleuls_forgot_password.yaml"). Looked for namespace "coop_tilleuls_forgot_password.up
date", found ""framework", "doctrine", "doctrine_migrations", "debug", "twig", "web_profiler", "twig_extra", "security", "monolog", "maker", "sensio_framework_extra", "doctrine_fixtures", "nelmio_api_doc", "nelmio_alice", "
fidry_alice_data_fixtures", "hautelook_alice", "nelmio_cors", "api_platform", "lexik_jwt_authentication", "vich_uploader", "coop_tilleuls_forgot_password"" in /var/www/html/config/packages/coop_tilleuls_forgot_password.yaml
(which is being imported from "/var/www/html/src/Kernel.php").

Please help me

@vincentchalamon
Copy link
Contributor

Hello,

It seems you're trying to load a route in a package. You should move this custom configuration in config/routes directory.

Closing as this is not a bug in this bundle.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants