drop another todo

This commit is contained in:
Jakob Ketterl 2020-04-01 22:39:32 +02:00
parent 513b477fac
commit 78704885d7
1 changed files with 1 additions and 0 deletions

View File

@ -47,6 +47,7 @@ class SessionController(WebpageController):
user = userlist[data["user"]]
if user.password.is_valid(data["password"]):
# TODO pass the final destination
# TODO evaluate password force_change and redirect to password change
key = SessionStorage.getSharedInstance().startSession({"user": user.name})
cookie = SimpleCookie()
cookie["owrx-session"] = key