]> git.ipfire.org Git - ipfire.org.git/blobdiff - src/web/__init__.py
auth: Move authentication to the main page
[ipfire.org.git] / src / web / __init__.py
index 3cbeabcdfd549d15b4e9bce491c766fc7dd3baa6..a75e48cfbf632aa67c4435df14c1e79f8120d4e8 100644 (file)
@@ -115,6 +115,11 @@ class Application(tornado.web.Application):
                        (r"/", IndexHandler),
                        (r"/about", AboutHandler),
 
+                       # Authentication
+                       (r"/login", auth.LoginHandler),
+                       (r"/logout", auth.LogoutHandler),
+                       (r"/register", auth.RegisterHandler),
+
                        # Blog
                        (r"/blog", blog.IndexHandler),
                        (r"/blog/authors/(\w+)", blog.AuthorHandler),