We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6984951 commit f96118bCopy full SHA for f96118b
session/avoid_session_start.rst
@@ -29,7 +29,7 @@ access the flash messages:
29
30
.. code-block:: html+twig
31
32
- {% if app.request.method == 'POST' %}
+ {% if app.request.hasPreviousSession %}
33
{% for message in app.flashes('notice') %}
34
<div class="flash-notice">
35
{{ message }}
0 commit comments