]>
git.ipfire.org Git - people/ms/webapp.git/blob - application/auth.py
3 from handlers
import BaseHandler
5 class LoginHandler(BaseHandler
):
7 self
.render("login.html", footer
=self
.footer())
10 self
.set_secure_cookie("user", self
.get_argument("user"))
14 class LogoutHandler(BaseHandler
):
16 self
.clear_cookie("user")
17 self
.render("logout.html", footer
=self
.footer())