remove logout page

redirect to landing page, instead
This commit is contained in:
Min RK
2015-03-21 19:12:24 -04:00
parent 2e53de0459
commit cffdf89327
2 changed files with 1 additions and 15 deletions

View File

@@ -13,8 +13,7 @@ class LogoutHandler(BaseHandler):
"""Log a user out by clearing their login cookie."""
def get(self):
self.clear_login_cookie()
html = self.render_template('logout.html')
self.finish(html)
self.redirect(self.hub.server.base_url, permanent=False)
class LoginHandler(BaseHandler):

View File

@@ -1,13 +0,0 @@
{% extends "page.html" %}
{% block login_widget %}
{% endblock %}
{% block main %}
<div class="container logout-main">
<h1>You have been logged out</h1>
<p><a href="{{login_url}}">Log in again...</a></p>
</div>
{% endblock %}