mirror of
https://github.com/lxsang/antd-web-apps
synced 2025-07-23 17:19:47 +02:00
Update common.lua
This commit is contained in:
@ -52,6 +52,7 @@ function is_auth()
|
||||
local f = io.open(TUNNEL_KEYCHAIN, "w")
|
||||
if f then
|
||||
f:write(sessionid)
|
||||
f:close()
|
||||
end
|
||||
return true
|
||||
end
|
||||
@ -60,4 +61,4 @@ function auth_or_die(msg)
|
||||
if(is_auth() == false) then
|
||||
die(msg)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user