prepare route protection
This commit is contained in:
9
owrx/controllers/session.py
Normal file
9
owrx/controllers/session.py
Normal 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")
|
Reference in New Issue
Block a user