mirror of
https://github.com/itflow-org/itflow
synced 2026-08-17 13:05:12 +00:00
Update missing CSRF endpoint checks missed update_db
This commit is contained in:
@@ -39,7 +39,7 @@ $git_log = shell_exec("git log $repo_branch..origin/$repo_branch --pretty=format
|
|||||||
<p class="text-center font-weight-bold">Ignore this warning at your own risk.</p>
|
<p class="text-center font-weight-bold">Ignore this warning at your own risk.</p>
|
||||||
</div>
|
</div>
|
||||||
<br>
|
<br>
|
||||||
<a class="btn btn-dark btn-lg my-4" href="post.php?update_db"><i class="fas fa-fw fa-4x fa-download mb-1"></i><h5>Update Database</h5></a>
|
<a class="btn btn-dark btn-lg my-4" href="post.php?update_db<?= $_SESSION['csrf_token'] ?>"><i class="fas fa-fw fa-4x fa-download mb-1"></i><h5>Update Database</h5></a>
|
||||||
<br>
|
<br>
|
||||||
<small class="text-secondary">Current DB Version: <?php echo CURRENT_DATABASE_VERSION; ?></small>
|
<small class="text-secondary">Current DB Version: <?php echo CURRENT_DATABASE_VERSION; ?></small>
|
||||||
<br>
|
<br>
|
||||||
|
|||||||
Reference in New Issue
Block a user