prepare route protection

This commit is contained in:
Jakob Ketterl
2020-02-23 19:23:18 +01:00
parent aa9737498a
commit 0a20cb5e41
4 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1,9 @@
from . import Controller
class SessionController(Controller):
def loginAction(self):
self.send_response("login happening here")
def logoutAction(self):
self.send_redirect("logout happening here")