mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-22 14:19:28 +00:00
Added the ability to change email addresses
This commit is contained in:
16
app/templates/sso/emailchange.html
Normal file
16
app/templates/sso/emailchange.html
Normal file
@@ -0,0 +1,16 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}Change your E-mail address{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<form action="" method="post">
|
||||
<table>
|
||||
{{ form.as_table }}
|
||||
</table>
|
||||
<br />
|
||||
{% csrf_token %}
|
||||
<input type="submit" value="Change Email" />
|
||||
</form>
|
||||
|
||||
{% endblock %}
|
||||
@@ -49,7 +49,8 @@ function refresh_apikey(key) {
|
||||
<p>
|
||||
<div class="skill_controls">
|
||||
<a href="{% url sso.views.refresh_access %}">Update Access</a>
|
||||
<a href="{% url django.contrib.auth.views.password_change %}">Change Your Password</a><br/>
|
||||
<a href="{% url django.contrib.auth.views.password_change %}">Change Your Password</a>
|
||||
<a href="{% url sso.views.email_change %}">Change Your E-mail</a
|
||||
</div>
|
||||
</p>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user