drop another todo
This commit is contained in:
parent
513b477fac
commit
78704885d7
@ -47,6 +47,7 @@ class SessionController(WebpageController):
|
|||||||
user = userlist[data["user"]]
|
user = userlist[data["user"]]
|
||||||
if user.password.is_valid(data["password"]):
|
if user.password.is_valid(data["password"]):
|
||||||
# TODO pass the final destination
|
# TODO pass the final destination
|
||||||
|
# TODO evaluate password force_change and redirect to password change
|
||||||
key = SessionStorage.getSharedInstance().startSession({"user": user.name})
|
key = SessionStorage.getSharedInstance().startSession({"user": user.name})
|
||||||
cookie = SimpleCookie()
|
cookie = SimpleCookie()
|
||||||
cookie["owrx-session"] = key
|
cookie["owrx-session"] = key
|
||||||
|
Loading…
Reference in New Issue
Block a user