diff --git a/post/setting.php b/post/setting.php index 3df54650..25e59e1e 100644 --- a/post/setting.php +++ b/post/setting.php @@ -331,6 +331,7 @@ if (isset($_GET['generate_cron_key'])) { if (isset($_POST['edit_online_payment_settings'])) { + validateCSRFToken($_POST['csrf_token']); validateAdminRole(); $config_stripe_enable = intval($_POST['config_stripe_enable']); diff --git a/settings_online_payment.php b/settings_online_payment.php index f8eb017e..e9e0157f 100644 --- a/settings_online_payment.php +++ b/settings_online_payment.php @@ -11,6 +11,7 @@ require_once "inc_all_settings.php";