API authentication (/api/login) now uses a seperate API password field.

This commit is contained in:
2010-08-06 13:46:07 +01:00
parent 329bec6bc8
commit 3c0dca0fa3
8 changed files with 183 additions and 10 deletions

View File

@@ -0,0 +1,17 @@
{% extends "base.html" %}
{% block title %}External Service Account Password Reset{% endblock %}
{% block content %}
<p>This service will reset your password for account {{ acc.service_uid }} on {{ acc.service }}. If you wish to continue please click the link
below.</p>
<form action="{% url sso.views.service_reset serviceid %}" method="post">
<table>
{{ form.as_table }}
</table>
<input type="submit" value="Reset Account" />
</form>
{% endblock %}

View File

@@ -0,0 +1,17 @@
{% extends "base.html" %}
{% block title %}API Services Password Reset{% endblock %}
{% block content %}
<p>This service will reset your password for all API Services. If you wish to continue please click the link
below.</p>
<form action="{% url sso.views.set_apipassword %}" method="post">
<table>
{{ form.as_table }}
</table>
<input type="submit" value="Reset Account" />
</form>
{% endblock %}