SSOwat/init.lua

12 lines
206 B
Lua
Raw Normal View History

2013-10-15 10:11:39 +02:00
-- Load libraries
2013-10-15 13:58:16 +02:00
json = require "json"
2013-10-15 10:11:39 +02:00
lualdap = require "lualdap"
math = require "math"
-- Set random key
math.randomseed(os.time())
auth_key = math.random(1111111, 9999999)
2013-10-15 13:58:16 +02:00
-- Shared table
2013-10-15 10:11:39 +02:00
tokens = {}