mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-24 07:09:31 +00:00
Add CSRF protection to all templates
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
<tr><td>{{ form.password.label_tag }}</td><td>{{ form.password }}</td></tr>
|
||||
</table>
|
||||
<br />
|
||||
{% csrf_token %}
|
||||
<input type="submit" value="login" />
|
||||
<input type="hidden" name="next" value="{{ next }}" />
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user