diff mbox

[Branch,~linaro-validation/lava-server/trunk] Rev 430: Fix regression after "longerusername": map Change Password page, as we use it.

Message ID 20130917114928.28397.11982.launchpad@ackee.canonical.com
State Accepted
Headers show

Commit Message

Paul Sokolovsky Sept. 17, 2013, 11:49 a.m. UTC
------------------------------------------------------------
revno: 430
committer: Paul Sokolovsky <paul.sokolovsky@linaro.org>
branch nick: lava-server
timestamp: Tue 2013-09-17 14:47:42 +0300
message:
  Fix regression after "longerusername": map Change Password page, as we use it.
modified:
  lava_server/urls.py


--
lp:lava-server
https://code.launchpad.net/~linaro-validation/lava-server/trunk

You are subscribed to branch lp:lava-server.
To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-server/trunk/+edit-subscription
diff mbox

Patch

=== modified file 'lava_server/urls.py'
--- lava_server/urls.py	2013-09-05 18:21:58 +0000
+++ lava_server/urls.py	2013-09-17 11:47:42 +0000
@@ -52,6 +52,10 @@ 
         'django.contrib.auth.views.login', {'authentication_form': AuthenticationForm}),
     url(r'^{mount_point}accounts/logout/$'.format(mount_point=settings.MOUNT_POINT),
         'django.contrib.auth.views.logout'),
+    url(r'^{mount_point}password_change/$'.format(mount_point=settings.MOUNT_POINT),
+        'django.contrib.auth.views.password_change'),
+    url(r'^{mount_point}password_change/done/$'.format(mount_point=settings.MOUNT_POINT),
+        'django.contrib.auth.views.password_change_done'),
 
     url(r'^{mount_point}admin/'.format(mount_point=settings.MOUNT_POINT),
         include(admin.site.urls)),