fediauth/init.lua
BuckarooBanzay 9b43a014ce auth stub
2023-01-28 20:50:40 +01:00

21 lines
424 B
Lua

local MP = minetest.get_modpath("otp")
otp = {
-- mod storage
storage = minetest.get_mod_storage(),
-- baseXX functions
basexx = loadfile(MP.."/basexx.lua")(),
-- qr code
qrcode = loadfile(MP.."/qrencode.lua")().qrcode
}
dofile(MP.."/functions.lua")
dofile(MP.."/onboard.lua")
dofile(MP.."/auth.lua")
if minetest.get_modpath("mtt") and mtt.enabled then
dofile(MP.."/functions.spec.lua")
end