Skip to content

Commit

Permalink
Do not use the REQUEST_TOKEN constant
Browse files Browse the repository at this point in the history
  • Loading branch information
richardhj committed Oct 26, 2022
1 parent b8196ae commit c75dc70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contao/templates/backend/be_maintenance_script_cache.html5
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<form action="<?= $this->action ?>" class="tl_form" method="post">
<div class="tl_formbody_edit">
<input type="hidden" name="FORM_SUBMIT" value="<?= $this->formSubmit ?>">
<input type="hidden" name="REQUEST_TOKEN" value="<?= REQUEST_TOKEN ?>">
<input type="hidden" name="REQUEST_TOKEN" value="<?= \Contao\System::getContainer()->get('contao.csrf.token_manager')->getDefaultTokenValue() ?>">
<?php if ($this->explain): ?>
<div class="tl_message">
<p class="<?= $this->class ?>"><?= $this->explain ?></p>
Expand Down

0 comments on commit c75dc70

Please sign in to comment.