Commit e3204c12 authored by Daniele Venzano's avatar Daniele Venzano

Fix route name user -> home_user

parent bbfaca30
......@@ -24,7 +24,7 @@ class RootWeb(ZoeWebRequestHandler):
def get(self):
"""Home page without authentication."""
self.redirect(self.reverse_url("/user"))
self.redirect(self.reverse_url("home_user"))
class LoginWeb(ZoeWebRequestHandler):
......@@ -46,7 +46,7 @@ class LoginWeb(ZoeWebRequestHandler):
if not self.get_secure_cookie('zoe'):
cookie_val = user.username
self.set_secure_cookie('zoe', cookie_val)
self.redirect(self.get_argument("next", self.reverse_url("user")))
self.redirect(self.get_argument("next", self.reverse_url("home_user")))
class LogoutWeb(ZoeWebRequestHandler):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment