We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99e9ac7 commit 69a57d9Copy full SHA for 69a57d9
interface/web/dns/dns_wizard.php
@@ -129,7 +129,10 @@
129
}
130
131
if($_POST['create'] == 1) {
132
-
+
133
+ //* CSRF Check
134
+ $app->auth->csrf_token_check();
135
136
$error = '';
137
138
// apply filters
@@ -287,6 +290,11 @@
287
290
288
291
$app->tpl->setVar("title", 'DNS Wizard');
289
292
293
+//* SET csrf token
294
+$csrf_token = $app->auth->csrf_token_get('dns_wizard');
295
+$app->tpl->setVar('_csrf_id',$csrf_token['csrf_id']);
296
+$app->tpl->setVar('_csrf_key',$csrf_token['csrf_key']);
297
298
$lng_file = 'lib/lang/'.$_SESSION['s']['language'].'_dns_wizard.lng';
299
include $lng_file;
300
$app->tpl->setVar($wb);
0 commit comments