contao-themes-net / odd-theme-bundle

odd theme bundle for contao cms
https://contao-themes.net/theme-detail/odd.html
Other
4 stars 2 forks source link

Newsletter Template - {{request_token}} #59

Closed gww-its closed 6 months ago

gww-its commented 6 months ago

Bug description

the use of {{request_token}} in templates are deprecated. So use with contao 5.3 leads to failure https://docs.contao.org/dev/framework/request-tokens/

Steps to reproduce

Using the template "nl_default_footer_odd" for register to a newsletter in the footer

Expected behavior

sending a mail to the requester

Environment

Contao 5.3 with php8.3.3

Solution

instead of using {{request_token}} in the template use <?= $this->requestToken ?>

seibtph commented 6 months ago

Fixed in version 3.5.0