add and resolve todos
This commit is contained in:
@ -46,7 +46,6 @@ class SessionController(WebpageController):
|
||||
if data["user"] in userlist:
|
||||
user = userlist[data["user"]]
|
||||
if user.is_enabled() and user.password.is_valid(data["password"]):
|
||||
# TODO evaluate password force_change and redirect to password change
|
||||
key = SessionStorage.getSharedInstance().startSession({"user": user.name})
|
||||
cookie = SimpleCookie()
|
||||
cookie["owrx-session"] = key
|
||||
|
Reference in New Issue
Block a user