Skip to content

Commit

Permalink
Make CSRF token permanent form member
Browse files Browse the repository at this point in the history
  • Loading branch information
Commifreak committed Feb 6, 2024
1 parent 229c56c commit 61df764
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pages/content/settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@
?>

<form id="abSettingsForm" method="post">
<input type="hidden" name="csrf_token" value="<?= _var($var, 'csrf_token') ?>"/>
<input type="hidden" name="settingsVersion" value="<?= ABSettings::$settingsVersion ?>"/>
<dl>
<dt><b>Backup type</b></dt>
Expand Down

0 comments on commit 61df764

Please sign in to comment.