add templating

This commit is contained in:
Jakob Ketterl 2020-02-23 20:13:11 +01:00
parent cad6175db0
commit 437e28c3a9
1 changed files with 3 additions and 3 deletions

View File

@ -1,9 +1,9 @@
from . import Controller
from .template import WebpageController
class SessionController(Controller):
class SessionController(WebpageController):
def loginAction(self):
self.send_response("login happening here")
self.serve_template("login.html", **self.template_variables())
def logoutAction(self):
self.send_redirect("logout happening here")