summaryrefslogtreecommitdiff
path: root/django/srpproject/urls.py
diff options
context:
space:
mode:
Diffstat (limited to 'django/srpproject/urls.py')
-rw-r--r--django/srpproject/urls.py16
1 files changed, 6 insertions, 10 deletions
diff --git a/django/srpproject/urls.py b/django/srpproject/urls.py
index 43a609d..d436697 100644
--- a/django/srpproject/urls.py
+++ b/django/srpproject/urls.py
@@ -6,27 +6,23 @@ from django.conf.urls.defaults import *
from srpproject.srp import views
urlpatterns = patterns('',
- # Example:
- # (r'^srpproject/', include('srpproject.foo.urls')),
-
- # Uncomment the admin/doc line below and add 'django.contrib.admindocs'
- # to INSTALLED_APPS to enable admin documentation:
- # (r'^admin/doc/', include('django.contrib.admindocs.urls')),
-
- # Uncomment the next line to enable the admin:
- # (r'^admin/(.*)', admin.site.root),
# Login and regiser pages. These are mainly for testing.
(r'^srp/register/$', views.register_page),
(r'^srp/login/$', views.login_page),
+ # These pages are necessary for users to register
(r'^srp/register/salt/$', views.register_salt),
(r'^srp/register/user/$', views.register_user),
- #
+ # These pages are necessary for users to log in
(r'^srp/handshake/$', views.handshake),
(r'^srp/authenticate/$', views.verify),
+ # This page allows users to login without javascript,
+ # but the browser posts their username and password in plaintext.
+ (r'^srp/noJs/$', views.no_javascript),
+
# Only include these if you are upgrading an existing installation to SRP
(r'^srp/upgrade/authenticate/$', views.upgrade_auth),
(r'^srp/upgrade/verifier/$', views.upgrade_add_verifier),