mirror of
https://github.com/itflow-org/itflow
synced 2026-03-25 14:55:38 +00:00
Merge pull request #826 from wrongecho/admin-settings-csrf
Require CSRF token to edit more admin settings
This commit is contained in:
@@ -6,6 +6,7 @@
|
|||||||
|
|
||||||
if (isset($_POST['edit_company'])) {
|
if (isset($_POST['edit_company'])) {
|
||||||
|
|
||||||
|
validateCSRFToken($_POST['csrf_token']);
|
||||||
validateAdminRole();
|
validateAdminRole();
|
||||||
|
|
||||||
require_once 'post/setting_company_model.php';
|
require_once 'post/setting_company_model.php';
|
||||||
@@ -53,6 +54,7 @@ if (isset($_POST['edit_company'])) {
|
|||||||
|
|
||||||
if (isset($_POST['edit_localization'])) {
|
if (isset($_POST['edit_localization'])) {
|
||||||
|
|
||||||
|
validateCSRFToken($_POST['csrf_token']);
|
||||||
validateAdminRole();
|
validateAdminRole();
|
||||||
|
|
||||||
$locale = sanitizeInput($_POST['locale']);
|
$locale = sanitizeInput($_POST['locale']);
|
||||||
@@ -74,6 +76,7 @@ if (isset($_POST['edit_localization'])) {
|
|||||||
|
|
||||||
if (isset($_POST['edit_mail_smtp_settings'])) {
|
if (isset($_POST['edit_mail_smtp_settings'])) {
|
||||||
|
|
||||||
|
validateCSRFToken($_POST['csrf_token']);
|
||||||
validateAdminRole();
|
validateAdminRole();
|
||||||
|
|
||||||
$config_smtp_host = sanitizeInput($_POST['config_smtp_host']);
|
$config_smtp_host = sanitizeInput($_POST['config_smtp_host']);
|
||||||
@@ -95,6 +98,7 @@ if (isset($_POST['edit_mail_smtp_settings'])) {
|
|||||||
|
|
||||||
if (isset($_POST['edit_mail_imap_settings'])) {
|
if (isset($_POST['edit_mail_imap_settings'])) {
|
||||||
|
|
||||||
|
validateCSRFToken($_POST['csrf_token']);
|
||||||
validateAdminRole();
|
validateAdminRole();
|
||||||
|
|
||||||
$config_imap_host = sanitizeInput($_POST['config_imap_host']);
|
$config_imap_host = sanitizeInput($_POST['config_imap_host']);
|
||||||
@@ -117,6 +121,7 @@ if (isset($_POST['edit_mail_imap_settings'])) {
|
|||||||
|
|
||||||
if (isset($_POST['edit_mail_from_settings'])) {
|
if (isset($_POST['edit_mail_from_settings'])) {
|
||||||
|
|
||||||
|
validateCSRFToken($_POST['csrf_token']);
|
||||||
validateAdminRole();
|
validateAdminRole();
|
||||||
|
|
||||||
$config_mail_from_email = sanitizeInput($_POST['config_mail_from_email']);
|
$config_mail_from_email = sanitizeInput($_POST['config_mail_from_email']);
|
||||||
@@ -144,6 +149,7 @@ if (isset($_POST['edit_mail_from_settings'])) {
|
|||||||
|
|
||||||
if (isset($_POST['test_email_smtp'])) {
|
if (isset($_POST['test_email_smtp'])) {
|
||||||
|
|
||||||
|
validateCSRFToken($_POST['csrf_token']);
|
||||||
validateAdminRole();
|
validateAdminRole();
|
||||||
$email_from = sanitizeInput($_POST['email_from']);
|
$email_from = sanitizeInput($_POST['email_from']);
|
||||||
$email_to = sanitizeInput($_POST['email_to']);
|
$email_to = sanitizeInput($_POST['email_to']);
|
||||||
@@ -167,6 +173,7 @@ if (isset($_POST['test_email_smtp'])) {
|
|||||||
|
|
||||||
if (isset($_POST['test_email_imap'])) {
|
if (isset($_POST['test_email_imap'])) {
|
||||||
|
|
||||||
|
validateCSRFToken($_POST['csrf_token']);
|
||||||
validateAdminRole();
|
validateAdminRole();
|
||||||
|
|
||||||
// Prepare connection string with encryption (TLS/SSL/<blank>)
|
// Prepare connection string with encryption (TLS/SSL/<blank>)
|
||||||
@@ -188,6 +195,7 @@ if (isset($_POST['test_email_imap'])) {
|
|||||||
|
|
||||||
if (isset($_POST['edit_invoice_settings'])) {
|
if (isset($_POST['edit_invoice_settings'])) {
|
||||||
|
|
||||||
|
validateCSRFToken($_POST['csrf_token']);
|
||||||
validateAdminRole();
|
validateAdminRole();
|
||||||
|
|
||||||
$config_invoice_prefix = sanitizeInput($_POST['config_invoice_prefix']);
|
$config_invoice_prefix = sanitizeInput($_POST['config_invoice_prefix']);
|
||||||
@@ -212,6 +220,7 @@ if (isset($_POST['edit_invoice_settings'])) {
|
|||||||
|
|
||||||
if (isset($_POST['edit_quote_settings'])) {
|
if (isset($_POST['edit_quote_settings'])) {
|
||||||
|
|
||||||
|
validateCSRFToken($_POST['csrf_token']);
|
||||||
validateAdminRole();
|
validateAdminRole();
|
||||||
|
|
||||||
$config_quote_prefix = sanitizeInput($_POST['config_quote_prefix']);
|
$config_quote_prefix = sanitizeInput($_POST['config_quote_prefix']);
|
||||||
@@ -254,6 +263,7 @@ if (isset($_POST['edit_ticket_settings'])) {
|
|||||||
|
|
||||||
if (isset($_POST['edit_default_settings'])) {
|
if (isset($_POST['edit_default_settings'])) {
|
||||||
|
|
||||||
|
validateCSRFToken($_POST['csrf_token']);
|
||||||
validateAdminRole();
|
validateAdminRole();
|
||||||
|
|
||||||
$start_page = sanitizeInput($_POST['start_page']);
|
$start_page = sanitizeInput($_POST['start_page']);
|
||||||
@@ -279,6 +289,7 @@ if (isset($_POST['edit_default_settings'])) {
|
|||||||
|
|
||||||
if (isset($_POST['edit_theme_settings'])) {
|
if (isset($_POST['edit_theme_settings'])) {
|
||||||
|
|
||||||
|
validateCSRFToken($_POST['csrf_token']);
|
||||||
validateAdminRole();
|
validateAdminRole();
|
||||||
|
|
||||||
$theme = preg_replace("/[^0-9a-zA-Z-]/", "", sanitizeInput($_POST['theme']));
|
$theme = preg_replace("/[^0-9a-zA-Z-]/", "", sanitizeInput($_POST['theme']));
|
||||||
@@ -295,6 +306,7 @@ if (isset($_POST['edit_theme_settings'])) {
|
|||||||
|
|
||||||
if (isset($_POST['edit_alert_settings'])) {
|
if (isset($_POST['edit_alert_settings'])) {
|
||||||
|
|
||||||
|
validateCSRFToken($_POST['csrf_token']);
|
||||||
validateAdminRole();
|
validateAdminRole();
|
||||||
|
|
||||||
$config_enable_cron = intval($_POST['config_enable_cron']);
|
$config_enable_cron = intval($_POST['config_enable_cron']);
|
||||||
@@ -351,6 +363,7 @@ if (isset($_POST['edit_online_payment_settings'])) {
|
|||||||
|
|
||||||
if (isset($_POST['edit_integrations_settings'])) {
|
if (isset($_POST['edit_integrations_settings'])) {
|
||||||
|
|
||||||
|
validateCSRFToken($_POST['csrf_token']);
|
||||||
validateAdminRole();
|
validateAdminRole();
|
||||||
|
|
||||||
$azure_client_id = sanitizeInput($_POST['azure_client_id']);
|
$azure_client_id = sanitizeInput($_POST['azure_client_id']);
|
||||||
@@ -388,6 +401,8 @@ if (isset($_POST['edit_module_settings'])) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (isset($_POST['edit_security_settings'])) {
|
if (isset($_POST['edit_security_settings'])) {
|
||||||
|
|
||||||
|
validateCSRFToken($_POST['csrf_token']);
|
||||||
validateAdminRole();
|
validateAdminRole();
|
||||||
|
|
||||||
$config_login_message = sanitizeInput($_POST['config_login_message']);
|
$config_login_message = sanitizeInput($_POST['config_login_message']);
|
||||||
@@ -406,6 +421,7 @@ if (isset($_POST['edit_security_settings'])) {
|
|||||||
|
|
||||||
if (isset($_POST['edit_telemetry_settings'])) {
|
if (isset($_POST['edit_telemetry_settings'])) {
|
||||||
|
|
||||||
|
validateCSRFToken($_POST['csrf_token']);
|
||||||
validateAdminRole();
|
validateAdminRole();
|
||||||
|
|
||||||
$config_telemetry = intval($_POST['config_telemetry']);
|
$config_telemetry = intval($_POST['config_telemetry']);
|
||||||
@@ -697,6 +713,7 @@ if (isset($_POST['send_telemetry_data'])) {
|
|||||||
|
|
||||||
if (isset($_GET['download_database'])) {
|
if (isset($_GET['download_database'])) {
|
||||||
|
|
||||||
|
validateCSRFToken($_GET['csrf_token']);
|
||||||
validateAdminRole();
|
validateAdminRole();
|
||||||
|
|
||||||
// Get All Table Names From the Database
|
// Get All Table Names From the Database
|
||||||
|
|||||||
@@ -6,6 +6,7 @@
|
|||||||
|
|
||||||
if (isset($_POST['add_tax'])) {
|
if (isset($_POST['add_tax'])) {
|
||||||
|
|
||||||
|
validateCSRFToken($_POST['csrf_token']);
|
||||||
$name = sanitizeInput($_POST['name']);
|
$name = sanitizeInput($_POST['name']);
|
||||||
$percent = floatval($_POST['percent']);
|
$percent = floatval($_POST['percent']);
|
||||||
|
|
||||||
@@ -22,6 +23,7 @@ if (isset($_POST['add_tax'])) {
|
|||||||
|
|
||||||
if (isset($_POST['edit_tax'])) {
|
if (isset($_POST['edit_tax'])) {
|
||||||
|
|
||||||
|
validateCSRFToken($_POST['csrf_token']);
|
||||||
$tax_id = intval($_POST['tax_id']);
|
$tax_id = intval($_POST['tax_id']);
|
||||||
$name = sanitizeInput($_POST['name']);
|
$name = sanitizeInput($_POST['name']);
|
||||||
$percent = floatval($_POST['percent']);
|
$percent = floatval($_POST['percent']);
|
||||||
@@ -38,6 +40,7 @@ if (isset($_POST['edit_tax'])) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (isset($_GET['archive_tax'])) {
|
if (isset($_GET['archive_tax'])) {
|
||||||
|
validateCSRFToken($_GET['csrf_token']);
|
||||||
$tax_id = intval($_GET['archive_tax']);
|
$tax_id = intval($_GET['archive_tax']);
|
||||||
|
|
||||||
mysqli_query($mysqli,"UPDATE taxes SET tax_archived_at = NOW() WHERE tax_id = $tax_id");
|
mysqli_query($mysqli,"UPDATE taxes SET tax_archived_at = NOW() WHERE tax_id = $tax_id");
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ require_once "inc_all_settings.php";
|
|||||||
</div>
|
</div>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<form action="post.php" method="post" autocomplete="off">
|
<form action="post.php" method="post" autocomplete="off">
|
||||||
|
<input type="hidden" name="csrf_token" value="<?php echo $_SESSION['csrf_token'] ?>">
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<div class="custom-control custom-switch">
|
<div class="custom-control custom-switch">
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ require_once "inc_all_settings.php";
|
|||||||
<h3 class="card-title"><i class="fas fa-fw fa-database mr-2"></i>Download Database</h3>
|
<h3 class="card-title"><i class="fas fa-fw fa-database mr-2"></i>Download Database</h3>
|
||||||
</div>
|
</div>
|
||||||
<div class="card-body" style="text-align: center;">
|
<div class="card-body" style="text-align: center;">
|
||||||
<a class="btn btn-primary btn-lg p-3" href="post.php?download_database"><i class="fas fa-fw fa-4x fa-download"></i><br><br>Download</a>
|
<a class="btn btn-primary btn-lg p-3" href="post.php?download_database&csrf_token=<?php echo $_SESSION['csrf_token'] ?>"><i class="fas fa-fw fa-4x fa-download"></i><br><br>Download</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@@ -29,6 +29,7 @@ $company_initials = nullable_htmlentities(initials($company_name));
|
|||||||
</div>
|
</div>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<form action="post.php" method="post" enctype="multipart/form-data" autocomplete="off">
|
<form action="post.php" method="post" enctype="multipart/form-data" autocomplete="off">
|
||||||
|
<input type="hidden" name="csrf_token" value="<?php echo $_SESSION['csrf_token'] ?>">
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label>Name <strong class="text-danger">*</strong></label>
|
<label>Name <strong class="text-danger">*</strong></label>
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ require_once "inc_all_settings.php";
|
|||||||
</div>
|
</div>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<form action="post.php" method="post" autocomplete="off">
|
<form action="post.php" method="post" autocomplete="off">
|
||||||
|
<input type="hidden" name="csrf_token" value="<?php echo $_SESSION['csrf_token'] ?>">
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label>Start Page</label>
|
<label>Start Page</label>
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ require_once "inc_all_settings.php";
|
|||||||
</div>
|
</div>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<form action="post.php" method="post" autocomplete="off">
|
<form action="post.php" method="post" autocomplete="off">
|
||||||
|
<input type="hidden" name="csrf_token" value="<?php echo $_SESSION['csrf_token'] ?>">
|
||||||
|
|
||||||
<h4>Client Portal SSO via Microsoft Azure AD</h4>
|
<h4>Client Portal SSO via Microsoft Azure AD</h4>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ require_once "inc_all_settings.php";
|
|||||||
</div>
|
</div>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<form action="post.php" method="post" autocomplete="off">
|
<form action="post.php" method="post" autocomplete="off">
|
||||||
|
<input type="hidden" name="csrf_token" value="<?php echo $_SESSION['csrf_token'] ?>">
|
||||||
|
|
||||||
<h4>Invoice</h4>
|
<h4>Invoice</h4>
|
||||||
|
|
||||||
|
|||||||
@@ -19,6 +19,7 @@ $timezones = DateTimeZone::listIdentifiers();
|
|||||||
</div>
|
</div>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<form action="post.php" method="post" autocomplete="off">
|
<form action="post.php" method="post" autocomplete="off">
|
||||||
|
<input type="hidden" name="csrf_token" value="<?php echo $_SESSION['csrf_token'] ?>">
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label>Language <strong class="text-danger">*</strong></label>
|
<label>Language <strong class="text-danger">*</strong></label>
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ require_once "inc_all_settings.php";
|
|||||||
</div>
|
</div>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<form action="post.php" method="post" autocomplete="off">
|
<form action="post.php" method="post" autocomplete="off">
|
||||||
|
<input type="hidden" name="csrf_token" value="<?php echo $_SESSION['csrf_token'] ?>">
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label>SMTP Host</label>
|
<label>SMTP Host</label>
|
||||||
@@ -80,6 +81,7 @@ require_once "inc_all_settings.php";
|
|||||||
</div>
|
</div>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<form action="post.php" method="post" autocomplete="off">
|
<form action="post.php" method="post" autocomplete="off">
|
||||||
|
<input type="hidden" name="csrf_token" value="<?php echo $_SESSION['csrf_token'] ?>">
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label>IMAP Host</label>
|
<label>IMAP Host</label>
|
||||||
@@ -154,6 +156,8 @@ require_once "inc_all_settings.php";
|
|||||||
</div>
|
</div>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<form action="post.php" method="post" autocomplete="off">
|
<form action="post.php" method="post" autocomplete="off">
|
||||||
|
<input type="hidden" name="csrf_token" value="<?php echo $_SESSION['csrf_token'] ?>">
|
||||||
|
|
||||||
<p>Each of the "From Email" Addresses need to be able to send email on behalf of the SMTP user configured above
|
<p>Each of the "From Email" Addresses need to be able to send email on behalf of the SMTP user configured above
|
||||||
<h5>System Default</h5>
|
<h5>System Default</h5>
|
||||||
<p class="text-secondary">(used for system tasks such as sending share links)</p>
|
<p class="text-secondary">(used for system tasks such as sending share links)</p>
|
||||||
@@ -262,6 +266,8 @@ require_once "inc_all_settings.php";
|
|||||||
</div>
|
</div>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<form action="post.php" method="post" autocomplete="off">
|
<form action="post.php" method="post" autocomplete="off">
|
||||||
|
<input type="hidden" name="csrf_token" value="<?php echo $_SESSION['csrf_token'] ?>">
|
||||||
|
|
||||||
<div class="input-group">
|
<div class="input-group">
|
||||||
<select class="form-control select2" name="email_from" required>
|
<select class="form-control select2" name="email_from" required>
|
||||||
<option value="">- Select an Email Address to send from -</option>
|
<option value="">- Select an Email Address to send from -</option>
|
||||||
@@ -308,6 +314,8 @@ require_once "inc_all_settings.php";
|
|||||||
</div>
|
</div>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<form action="post.php" method="post" autocomplete="off">
|
<form action="post.php" method="post" autocomplete="off">
|
||||||
|
<input type="hidden" name="csrf_token" value="<?php echo $_SESSION['csrf_token'] ?>">
|
||||||
|
|
||||||
<div class="input-group-append">
|
<div class="input-group-append">
|
||||||
<button type="submit" name="test_email_imap" class="btn btn-success"><i class="fas fa-fw fa-inbox mr-2"></i>Test</button>
|
<button type="submit" name="test_email_imap" class="btn btn-success"><i class="fas fa-fw fa-inbox mr-2"></i>Test</button>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ require_once "inc_all_settings.php";
|
|||||||
</div>
|
</div>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<form action="post.php" method="post" autocomplete="off">
|
<form action="post.php" method="post" autocomplete="off">
|
||||||
|
<input type="hidden" name="csrf_token" value="<?php echo $_SESSION['csrf_token'] ?>">
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<div class="custom-control custom-switch">
|
<div class="custom-control custom-switch">
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ require_once "inc_all_settings.php";
|
|||||||
</div>
|
</div>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<form action="post.php" method="post" autocomplete="off">
|
<form action="post.php" method="post" autocomplete="off">
|
||||||
|
<input type="hidden" name="csrf_token" value="<?php echo $_SESSION['csrf_token'] ?>">
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label>Quote Prefix</label>
|
<label>Quote Prefix</label>
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ require_once "inc_all_settings.php";
|
|||||||
</div>
|
</div>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<form action="post.php" method="post" autocomplete="off">
|
<form action="post.php" method="post" autocomplete="off">
|
||||||
|
<input type="hidden" name="csrf_token" value="<?php echo $_SESSION['csrf_token'] ?>">
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label>Login Message</label>
|
<label>Login Message</label>
|
||||||
|
|||||||
@@ -8,6 +8,8 @@
|
|||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<form action="post.php" method="post" autocomplete="off">
|
<form action="post.php" method="post" autocomplete="off">
|
||||||
|
<input type="hidden" name="csrf_token" value="<?php echo $_SESSION['csrf_token'] ?>">
|
||||||
|
|
||||||
<div class="modal-body bg-white">
|
<div class="modal-body bg-white">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label>Name <strong class="text-danger">*</strong></label>
|
<label>Name <strong class="text-danger">*</strong></label>
|
||||||
|
|||||||
@@ -8,7 +8,9 @@
|
|||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<form action="post.php" method="post" autocomplete="off">
|
<form action="post.php" method="post" autocomplete="off">
|
||||||
|
<input type="hidden" name="csrf_token" value="<?php echo $_SESSION['csrf_token'] ?>">
|
||||||
<input type="hidden" name="tax_id" value="<?php echo $tax_id; ?>">
|
<input type="hidden" name="tax_id" value="<?php echo $tax_id; ?>">
|
||||||
|
|
||||||
<div class="modal-body bg-white">
|
<div class="modal-body bg-white">
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ $num_rows = mysqli_num_rows($sql);
|
|||||||
<i class="fas fa-fw fa-edit mr-2"></i>Edit
|
<i class="fas fa-fw fa-edit mr-2"></i>Edit
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a class="dropdown-item text-danger confirm-link" href="post.php?archive_tax=<?php echo $tax_id; ?>">
|
<a class="dropdown-item text-danger confirm-link" href="post.php?archive_tax=<?php echo $tax_id; ?>&csrf_token=<?php echo $_SESSION['csrf_token'] ?>">
|
||||||
<i class="fas fa-fw fa-archive mr-2"></i>Archive
|
<i class="fas fa-fw fa-archive mr-2"></i>Archive
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ require_once "inc_all_settings.php";
|
|||||||
<p class="text-center">Installation ID: <strong><?php echo $installation_id; ?></strong></p>
|
<p class="text-center">Installation ID: <strong><?php echo $installation_id; ?></strong></p>
|
||||||
|
|
||||||
<form action="post.php" method="post" autocomplete="off">
|
<form action="post.php" method="post" autocomplete="off">
|
||||||
|
<input type="hidden" name="csrf_token" value="<?php echo $_SESSION['csrf_token'] ?>">
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label>Telemetry</label>
|
<label>Telemetry</label>
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ require_once "inc_all_settings.php";
|
|||||||
</div>
|
</div>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<form action="post.php" method="post" autocomplete="off">
|
<form action="post.php" method="post" autocomplete="off">
|
||||||
|
<input type="hidden" name="csrf_token" value="<?php echo $_SESSION['csrf_token'] ?>">
|
||||||
|
|
||||||
<label>Select a Theme</label>
|
<label>Select a Theme</label>
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ require_once "inc_all_settings.php";
|
|||||||
</div>
|
</div>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<form action="post.php" method="post" autocomplete="off">
|
<form action="post.php" method="post" autocomplete="off">
|
||||||
|
<input type="hidden" name="csrf_token" value="<?php echo $_SESSION['csrf_token'] ?>">
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label>Ticket Prefix</label>
|
<label>Ticket Prefix</label>
|
||||||
|
|||||||
Reference in New Issue
Block a user