1
0
mirror of https://github.com/lxsang/antd-web-apps synced 2025-07-26 10:39:46 +02:00

update OS backend

This commit is contained in:
DanyLE
2022-08-19 15:10:55 +02:00
parent bac46c691a
commit ce99218348
3 changed files with 13 additions and 3 deletions

View File

@ -35,6 +35,8 @@ function is_auth()
-- should be used only by API call
elseif REQUEST.sessionid and REQUEST.sessionid ~= '0' then
sessionid = REQUEST.sessionid
elseif REQUEST.access_token and REQUEST.access_token ~= '0' then
sessionid = REQUEST.access_token
end
if sessionid == nil then
return false