mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 23:02:19 +00:00
Add CSRF protection to all templates
This commit is contained in:
@@ -12,6 +12,7 @@ password below.</p>
|
||||
{{ form.as_table }}
|
||||
</table>
|
||||
<br />
|
||||
{% csrf_token %}
|
||||
<input type="submit" value="Reset Account" />
|
||||
</form>
|
||||
|
||||
|
||||
@@ -12,6 +12,7 @@ page</a> and a optional description.</p>
|
||||
{{ form.as_table }}
|
||||
</table>
|
||||
<br />
|
||||
{% csrf_token %}
|
||||
<input type="submit" value="Add Key" />
|
||||
</form>
|
||||
<p>Once you have added your EVE API key, don't forget to apply in game, as well as add an application through our
|
||||
|
||||
@@ -11,6 +11,7 @@ on from time to time</p>
|
||||
<table>
|
||||
{{ form.as_table }}
|
||||
</table>
|
||||
{% csrf_token %}
|
||||
<br />
|
||||
<input type="submit" value="Add Account" />
|
||||
</form>
|
||||
|
||||
@@ -9,6 +9,7 @@ create a new account until fixed by a Sysop. If you are having issues logging in
|
||||
<p>If you are sure, then please click confirm</p>
|
||||
|
||||
<form action="{% url sso.views.service_del acc.id %}" method="post">
|
||||
{% csrf_token %}
|
||||
<input name="confirm-delete" type="hidden" value="1"/>
|
||||
<input type="submit" value="Confirm Delete" />
|
||||
</form>
|
||||
|
||||
@@ -19,6 +19,7 @@ up to date, if so use the "Refresh" function.</p>
|
||||
</table>
|
||||
<br />
|
||||
<input type="submit" value="Create Account" />
|
||||
{% csrf_token %}
|
||||
</form>
|
||||
<br/>
|
||||
{% endblock %}
|
||||
|
||||
@@ -11,6 +11,7 @@ below.</p>
|
||||
<table>
|
||||
{{ form.as_table }}
|
||||
</table>
|
||||
{% csrf_token %}
|
||||
<input type="submit" value="Reset Account" />
|
||||
</form>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user