template lua script
This commit is contained in:
parent
23f857e62a
commit
6d5774cd90
@ -5,7 +5,7 @@ local clientSecret = {{ getenv "CLIENT_SECRET" }}
|
|||||||
local username = {{ getenv "OAUTH_ADMIN_USER" }}
|
local username = {{ getenv "OAUTH_ADMIN_USER" }}
|
||||||
local password = {{ getenv "OAUTH_ADMIN_PASSWORD" }}
|
local password = {{ getenv "OAUTH_ADMIN_PASSWORD" }}
|
||||||
local tokenUrl = {{ getenv "GRANT_URL" }}
|
local tokenUrl = {{ getenv "GRANT_URL" }}
|
||||||
local userUrl = {{ "USER_URL" }}
|
local userUrl = {{ getenv "USER_URL" }}
|
||||||
|
|
||||||
function os.capture(cmd, raw)
|
function os.capture(cmd, raw)
|
||||||
local f = assert(io.popen(cmd, 'r'))
|
local f = assert(io.popen(cmd, 'r'))
|
||||||
|
Loading…
Reference in New Issue
Block a user