Added csrf token to login
This commit is contained in:
parent
24b3d40fb6
commit
f2948c74ff
3 changed files with 24 additions and 2 deletions
|
|
@ -8,6 +8,7 @@
|
|||
<div class="form">
|
||||
<p align="center">${lang('admin', 'check_your_email', 'Check your email for get instructions for complete login with double auth or')} <a href="${url_for('.logout')}">logout</a> and login again with other user</p>
|
||||
<p><label>${lang('admin', 'code', 'Code')} *</label><input type="text" class="" name="code" id="code_form" value="" /> <span class="error" id="code_error"></span></p>
|
||||
${csrf_token()|n}
|
||||
</div>
|
||||
<div id="submit_block">
|
||||
<input type="submit" value="${lang('common', 'send_code', 'Send code')}" class="submit" id="code_submit"/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue