Add option to check CSRF token

This commit is contained in:
Kijin Sung 2018-10-10 18:17:27 +09:00
parent 3484b2bb48
commit 73e79fe547
6 changed files with 16 additions and 0 deletions

View file

@ -69,6 +69,15 @@
<p class="x_help-block">{$lang->about_use_cookies_ssl}</p>
</div>
</div>
<div class="x_control-group">
<label class="x_control-label">{$lang->check_csrf_token}</label>
<div class="x_controls">
<label for="check_csrf_token_y" class="x_inline"><input type="radio" name="check_csrf_token" id="check_csrf_token_y" value="Y" checked="checked"|cond="$check_csrf_token" /> {$lang->cmd_yes}</label>
<label for="check_csrf_token_n" class="x_inline"><input type="radio" name="check_csrf_token" id="check_csrf_token_n" value="N" checked="checked"|cond="!$check_csrf_token" /> {$lang->cmd_no}</label>
<br />
<p class="x_help-block">{$lang->about_check_csrf_token}</p>
</div>
</div>
<div class="x_control-group">
<label class="x_control-label">{$lang->use_nofollow}</label>
<div class="x_controls">