Adding csrf token fields to the forgot password calls
This commit is contained in:
parent
88233cb282
commit
4d7a93a493
@ -23,6 +23,8 @@
|
||||
|
||||
<form action="{{ request.urlgen('mediagoblin.auth.verify_forgot_password') }}"
|
||||
method="POST" enctype="multipart/form-data">
|
||||
{{ csrf_token }}
|
||||
|
||||
<div class="grid_6 prefix_1 suffix_1 form_box">
|
||||
<h1>{% trans %}Enter your new password{% endtrans %}</h1>
|
||||
|
||||
|
@ -23,6 +23,8 @@
|
||||
|
||||
<form action="{{ request.urlgen('mediagoblin.auth.forgot_password') }}"
|
||||
method="POST" enctype="multipart/form-data">
|
||||
{{ csrf_token }}
|
||||
|
||||
<div class="grid_6 prefix_1 suffix_1 form_box">
|
||||
<h1>{% trans %}Enter your username or email{% endtrans %}</h1>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user