mirror of
https://github.com/YunoHost/SSOwat.git
synced 2024-09-03 20:06:27 +02:00
14 lines
236 B
Lua
14 lines
236 B
Lua
|
-- Load libraries
|
||
|
cjson = require "cjson"
|
||
|
lualdap = require "lualdap"
|
||
|
math = require "math"
|
||
|
|
||
|
-- Set random key
|
||
|
math.randomseed(os.time())
|
||
|
auth_key = math.random(1111111, 9999999)
|
||
|
|
||
|
-- Shared tables
|
||
|
tokens = {}
|
||
|
redirects = {}
|
||
|
flashs = {}
|