]> git.ipfire.org Git - ipfire.org.git/blobdiff - src/web/__init__.py
users: Move passwd handler from people
[ipfire.org.git] / src / web / __init__.py
index 91a8cdc23f10848edf549f99fd8b3c825de80479..92bb56fccd2f903bb40eac308c9ddf32927f8acc 100644 (file)
@@ -168,6 +168,7 @@ class Application(tornado.web.Application):
                        (r"/users", users.IndexHandler),
                        (r"/users/([a-z_][a-z0-9_-]{0,31})", users.ShowHandler),
                        (r"/users/([a-z_][a-z0-9_-]{0,31})\.jpg", users.AvatarHandler),
+                       (r"/users/([a-z_][a-z0-9_-]{0,31})/passwd", users.PasswdHandler),
 
                        # Static Pages
                        (r"/about",  StaticHandler, { "template" : "about.html" }),
@@ -319,7 +320,6 @@ class Application(tornado.web.Application):
                        (r"/users/([a-z_][a-z0-9_-]{0,31})/calls/([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})", people.CallHandler),
                        (r"/users/([a-z_][a-z0-9_-]{0,31})/calls(?:/(\d{4}-\d{2}-\d{2}))?", people.CallsHandler),
                        (r"/users/([a-z_][a-z0-9_-]{0,31})/edit", people.UserEditHandler),
-                       (r"/users/([a-z_][a-z0-9_-]{0,31})/passwd", people.UserPasswdHandler),
                        (r"/users/([a-z_][a-z0-9_-]{0,31})/sip", people.SIPHandler),
 
                        # Promotional Consent Stuff