This website works better with JavaScript.
Home
Help
Sign In
heuzef
/
pinry
mirror of
https://github.com/pinry/pinry.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
44
Wiki
Activity
Browse Source
Fix CSRF login and register bug
tags/v0.5.1
Isaac Bythewood
12 years ago
parent
fde97b05c6
commit
94d40b7054
2 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
pinry/core/templates/core/login.html
+1
-0
pinry/core/templates/core/register.html
+ 1
- 0
pinry/core/templates/core/login.html
View File
@@ -11,6 +11,7 @@
<div id="form" class="span6 offset3">
<h1>Login</h1>
<form action="{% url core:login %}" method="post" class="form-horizontal">
{% csrf_token %}
{% for field in form %}
{% bootstrap_field field %}
{% endfor %}
+ 1
- 0
pinry/core/templates/core/register.html
View File
@@ -11,6 +11,7 @@
<div id="form" class="span6 offset3">
<h1>Register</h1>
<form action="{% url core:register %}" method="post" class="form-horizontal">
{% csrf_token %}
{% for field in form %}
{% bootstrap_field field %}
{% endfor %}
Write
Preview
Loading…
Cancel
Save