Skip to content

Commit

Permalink
Merge pull request #855 from akvo/feature/853_v3_scriptjs
Browse files Browse the repository at this point in the history
[#853] Added CSRF token to sign_in and register forms
  • Loading branch information
kardan committed Oct 27, 2014
2 parents 892a3a7 + 5b1369f commit a19f78c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions akvo/templates/registration/register.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<div class="row">
<div class="col-md-6 col-md-offset-3">
<form method="post" action="" name="registrationForm">
{% csrf_token %}
{% bootstrap_form_errors form type='non_fields' %}
{% for field in form %}
{% bootstrap_field field %}
Expand Down
1 change: 1 addition & 0 deletions akvo/templates/sign_in.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<div class="row">
<div class="col-md-6 col-md-offset-3">
<form method="post" action="" name="registrationForm">
{% csrf_token %}
{% bootstrap_form_errors form type='non_fields' %}
{% for field in form %}
{% bootstrap_field field %}
Expand Down

0 comments on commit a19f78c

Please sign in to comment.