From 3b93e5f2ba01fc409d81b7901a904f363ae67bd0 Mon Sep 17 00:00:00 2001 From: Silvio Date: Fri, 30 Mar 2018 10:09:53 +0200 Subject: [PATCH] Using flask-wtf helper for csrf token field --- .../{{cookiecutter.app_name}}/templates/public/register.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/{{cookiecutter.app_name}}/{{cookiecutter.app_name}}/templates/public/register.html b/{{cookiecutter.app_name}}/{{cookiecutter.app_name}}/templates/public/register.html index 1b10b31..7a97035 100644 --- a/{{cookiecutter.app_name}}/{{cookiecutter.app_name}}/templates/public/register.html +++ b/{{cookiecutter.app_name}}/{{cookiecutter.app_name}}/templates/public/register.html @@ -5,7 +5,7 @@

Register


- + {{ form.csrf_token }}
{{form.username.label}} {{form.username(placeholder="Username", class_="form-control")}}