mirror of
https://github.com/danpros/htmly.git
synced 2026-04-21 04:56:23 +05:30
added CSRF Token
This commit is contained in:
parent
630fe3fc3f
commit
e852052790
11 changed files with 88 additions and 16 deletions
|
|
@ -13,6 +13,7 @@
|
|||
<br><br>
|
||||
<div id="wmd-button-bar" class="wmd-button-bar"></div>
|
||||
<textarea id="wmd-input" class="wmd-input <?php if (isset($postContent)) { if (empty($postContent)) { echo 'error';}} ?>" name="content" cols="20" rows="10"><?php if (isset($postContent)) { echo $postContent;} ?></textarea><br/>
|
||||
<input type="hidden" name="csrf_token" value="<?php echo get_csrf()?>">
|
||||
<input type="submit" name="submit" class="submit" value="Publish"/>
|
||||
</form>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue