Skip to content

Commit

Permalink
Update boot.php
Browse files Browse the repository at this point in the history
  • Loading branch information
alxndr-w committed Jul 27, 2024
1 parent a50f77d commit 1f8c188
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boot.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ static function ($a) {
$addon = rex_addon::get('qanda');
$pages = $addon->getProperty('pages');

if($_REQUEST) {
if(!rex::getConsole()) {
$_csrf_key = rex_yform_manager_table::get('rex_qanda')->getCSRFKey();

$token = rex_csrf_token::factory($_csrf_key)->getUrlParams();
Expand Down

0 comments on commit 1f8c188

Please sign in to comment.