[PATCH] Add link to password change form on user profile page

Sascha Silbe sascha-pgp at silbe.org
Tue Nov 30 04:44:29 EST 2010


Signed-off-by: Sascha Silbe <sascha-pgp at silbe.org>
---
 templates/patchwork/profile.html |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

We couldn't find any way to change a password from within the
existing web interface, other than navigating to a "hidden" URL.

I've added a new box "Authentication" instead of using "Settings"
so that settings for related future features like OpenID support and
logging in via SSL public keys can be grouped together.

diff --git a/templates/patchwork/profile.html b/templates/patchwork/profile.html
index e2d0b90..dd5d35e 100644
--- a/templates/patchwork/profile.html
+++ b/templates/patchwork/profile.html
@@ -117,6 +117,11 @@ address.</p>
 </form>
 </div>
 
+<div class="box">
+<h2>Authentication</h2>
+<a href="{% url django.contrib.auth.views.password_change %}">Change password</a>
+</div>
+
 </div>
 
 <p style="clear: both"></p>
-- 
1.7.0.4



More information about the Patchwork mailing list