Commit bf7e8538 authored by Remi Rampin's avatar Remi Rampin

Fix typo that doesn't matter in practice

Only triggers an error if vising login page while already logged in.
parent fc8d01d0
Pipeline #65599406 passed with stage
in 2 minutes and 6 seconds
......@@ -99,7 +99,7 @@ class Login(BaseHandler):
)
def _go_to_next(self):
next_ = self.get_argument('next')
next_ = self.get_argument('next', '')
if not next_:
next_ = self.reverse_url('index')
return self.redirect(next_)
......
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