Skip to content

Commit

Permalink
feature #4632 Added flash support on login page (bastien70)
Browse files Browse the repository at this point in the history
This PR was merged into the 3.0.x-dev branch.

Discussion
----------

Added flash support on login page

Just an addition of support for flash messages on the login page.

We imagine that this feature could be interesting in some cases such as the following:

- A user reset his password, is redirected to the login page, and sees a flash message appear, telling him that his password has been reset and that he can connect

Commits
-------

3493889 Added flash support on login page
  • Loading branch information
javiereguiluz committed Sep 6, 2021
2 parents f444a3b + 3493889 commit 3351cc0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Resources/views/page/login.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

<div class="login-wrapper">
<header class="main-header">
{% include '@EasyAdmin/flash_messages.html.twig' %}
<div id="header-logo">
{% block header_logo %}
{% if page_title %}
Expand Down

0 comments on commit 3351cc0

Please sign in to comment.