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

Flash messages are not show in in .../check_email.html.twig #223

Open
alister opened this issue Jun 7, 2022 · 0 comments
Open

Flash messages are not show in in .../check_email.html.twig #223

alister opened this issue Jun 7, 2022 · 0 comments

Comments

@alister
Copy link

alister commented Jun 7, 2022

In the default ResetPasswordController::reset() action, there is a (commented-out) suggestion for how to 'tell the user why a reset email was not sent'.

I uncommented it (wrapped in a $this->isGranted('ROLE_SUPPORT') {...), but no flash messages are shown - because the check_email.html.twig template does not check & display the flashes.

If you think adding the flashes to the template is a useful addition, I'd be happy to make a PR. It may also be useful to create a local .../reset_password/layout.html.twig base-file to remove the further duplication of the flashes-block that already has 2 copies.

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

1 participant