liquid_feedback_frontend
changeset 1579:c6883a7dce61
Setting cookie to fix login API
author | bsw |
---|---|
date | Mon Dec 14 18:06:06 2020 +0100 (2020-12-14) |
parents | 13d99b41059e |
children | 202876945a6c |
files | app/main/api/login.lua |
line diff
1.1 --- a/app/main/api/login.lua Mon Dec 07 17:00:20 2020 +0100 1.2 +++ b/app/main/api/login.lua Mon Dec 14 18:06:06 2020 +0100 1.3 @@ -4,6 +4,7 @@ 1.4 end 1.5 1.6 if not app.access_token.used then 1.7 + app.session:set_cookie() 1.8 local result = util.login(app.access_token.member) 1.9 1.10 if not result then