Add the form key to the register form.
This commit is contained in:
parent
2d58ed9d19
commit
f3bbfd7762
@ -7,7 +7,7 @@
|
||||
{% block content %}
|
||||
<div>
|
||||
<form action="/register" method="post" id="login-form">
|
||||
<input name="form_key" type="hidden" value="{{ form_key }}">
|
||||
<input name="form_key" type="hidden" value="{{ session.get('form_key') }}">
|
||||
<div>
|
||||
<label for="name">Name<br>
|
||||
<input name="name" type="text" required>
|
||||
|
Loading…
Reference in New Issue
Block a user