Skip to content

Commit

Permalink
5771 add csrftoken field to upload patch form
Browse files Browse the repository at this point in the history
  • Loading branch information
gregrgay committed Mar 11, 2017
1 parent 25318a7 commit ed2cca4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mods/_standard/patcher/index_admin.php
Expand Up @@ -423,6 +423,7 @@ function get_array_by_delimiter($subject, $delimiter)
<div class="row"><?php echo _AT("upload_patch"); ?></div>

<div class="row">
<input type="hidden" name="csrftoken" value="<?php echo $_SESSION['token'];?>" />
<input type="hidden" name="MAX_FILE_SIZE" value="52428800" />
<input type="file" name="patchfile" size="50" />
</div>
Expand Down

0 comments on commit ed2cca4

Please sign in to comment.