Add csrf checking for cookie posts, fix file hotlinking
This commit is contained in:
parent
9ccf3d855e
commit
b9c6598250
7 changed files with 27 additions and 16 deletions
|
@ -25,7 +25,7 @@
|
|||
<% } %>
|
||||
<div class="holder">
|
||||
<form role="form" action="/forgot<%= token ? '/' + token : '' %>" method="post">
|
||||
|
||||
<input type="hidden" name="_csrf" value="<%= csrf %>" />
|
||||
<% if(typeof error !== 'undefined') { %>
|
||||
<div class="alert alert-danger">
|
||||
<%= error %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue