add CSRF validation
This commit is contained in:
parent
ae5a18138b
commit
e32089c81e
5 changed files with 21 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
|||
{% extends "layout/default.html" %}
|
||||
{% block content %}
|
||||
<form action="{{ url_for("login") }}" method="post">
|
||||
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}">
|
||||
<fieldset>
|
||||
<legend>Login</legend>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue