add settings button, start with the admin template

This commit is contained in:
Jakob Ketterl
2020-03-08 21:28:15 +01:00
parent 4928f80929
commit 6ab77f958c
6 changed files with 22 additions and 6 deletions

View File

@ -47,7 +47,7 @@ class SessionController(WebpageController):
key = SessionStorage.getSharedInstance().startSession({"user": data["user"]})
cookie = SimpleCookie()
cookie["owrx-session"] = key
self.send_redirect("/settings", cookies=cookie)
self.send_redirect("/admin", cookies=cookie)
else:
self.send_redirect("/login")
else: