mirror of
https://github.com/itflow-org/itflow
synced 2026-03-13 17:24:51 +00:00
Vendors: Add missing CSRF, need to update the permissions as a vendor can be client or global and permissions need to be set based off if the referal url has client_id or not
This commit is contained in:
1
agent/modals/vendor/vendor_edit.php
vendored
1
agent/modals/vendor/vendor_edit.php
vendored
@@ -33,6 +33,7 @@ ob_start();
|
||||
</button>
|
||||
</div>
|
||||
<form action="post.php" method="post" autocomplete="off">
|
||||
<input type="hidden" name="csrf_token" value="<?= $_SESSION['csrf_token'] ?>">
|
||||
<input type="hidden" name="vendor_id" value="<?php echo $vendor_id; ?>">
|
||||
<div class="modal-body">
|
||||
|
||||
|
||||
Reference in New Issue
Block a user