Added the ability to change email addresses

This commit is contained in:
2011-05-16 14:00:46 +01:00
parent 46b4b9a041
commit 2e22a9663c
5 changed files with 54 additions and 2 deletions

View 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 %}

View File

@@ -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>