mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 14:52:15 +00:00
API authentication (/api/login) now uses a seperate API password field.
This commit is contained in:
17
templates/apipassword.html
Normal file
17
templates/apipassword.html
Normal 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 %}
|
||||
17
templates/sso/apipassword.html
Normal file
17
templates/sso/apipassword.html
Normal 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 %}
|
||||
Reference in New Issue
Block a user