summaryrefslogtreecommitdiff
path: root/urls.py
diff options
context:
space:
mode:
authorJohan Lundberg <lundberg@nordu.net>2011-05-10 11:09:55 +0200
committerJohan Lundberg <lundberg@nordu.net>2011-05-10 11:09:55 +0200
commit01405d73d6839ae7e267482d483aecc628a67afd (patch)
treee49518ab3e6a4bde6622b449b5047978cd60fcbf /urls.py
parent1c7bea1c752b7cb9b258230d16006a17b2ed1f8d (diff)
Added reset password functionality.
Diffstat (limited to 'urls.py')
-rw-r--r--urls.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/urls.py b/urls.py
index bfdb5ce..dc4f644 100644
--- a/urls.py
+++ b/urls.py
@@ -1,6 +1,9 @@
# This also imports the include function
from django.conf.urls.defaults import *
+from nordunet_change_password import *
urlpatterns = patterns('apps.changepw.views',
- url(r'^/$', 'change_password', name='changepw'),
+ url(r'^/$', 'index', name='index'),
+ url(r'^/changepw$', change_password(request, change_nordunet_sso_pw), name='changepw'),
+ url(r'^/changeppp$', reset_password(request, reset_nordunet_ppp_pw), name='resetpw'),
)