File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -1046,12 +1046,12 @@ Before signing/encrypting messages, make sure to have:
10461046
10471047.. caution ::
10481048
1049- These features require messages to be rendered,
1050- which is not always immediate.
1051- For example, :ref: `templated emails <mailer-twig >` content is generated
1049+ Signing and encrypting messages require their contents to be fully rendered.
1050+ For example, the content of :ref: `templated emails <mailer-twig >` is rendered
10521051 by a :class: `Symfony\\ Component\\ Mailer\\ EventListener\\ MessageListener `.
1053- If you need to sign and/or encrypt such a message, you need to do so in
1054- a :ref: `MessageEvent <messageevent >` listener with a negative priority.
1052+ So, if you want to sign and/or encrypt such a message, you need to do it in
1053+ a :ref: `MessageEvent <messageevent >` listener run after it (you need to set
1054+ a negative priority to your listener).
10551055
10561056Signing Messages
10571057~~~~~~~~~~~~~~~~
You can’t perform that action at this time.
0 commit comments