mirror of
https://git.phreedom.club/localhost_frssoft/fediauth.git
synced 2024-11-21 23:41:27 +00:00
use yl_matterbridge option disabled by default
This commit is contained in:
parent
8d701f6955
commit
1a6ee23ed9
5
init.lua
5
init.lua
|
@ -11,7 +11,10 @@ fediauth = {
|
|||
-- baseXX functions
|
||||
basexx = loadfile(MP.."/basexx.lua")(),
|
||||
}
|
||||
fediauth.matterbridge_avalaible = minetest.get_modpath("yl_matterbridge") and true
|
||||
|
||||
if minetest.settings:get_bool("fediauth.use_matterbridge", false) then
|
||||
fediauth.matterbridge_avalaible = minetest.get_modpath("yl_matterbridge") and true
|
||||
end
|
||||
|
||||
dofile(MP.."/mastoapi.lua")
|
||||
local instance = minetest.settings:get("fediauth.instance")
|
||||
|
|
|
@ -25,3 +25,8 @@ fediauth.make_immortal_player (Make immortal player) bool true
|
|||
# It works as workaround
|
||||
# btw it can protect admin
|
||||
fediauth.protect_chatcommands (Protect chat commands) bool true
|
||||
|
||||
# Use yl_matterbridge mod for report some unwanted behavior
|
||||
# e.g. attempt try change password during 2FA
|
||||
fediauth.use_matterbridge (Use matterbridge) bool false
|
||||
|
||||
|
|
Loading…
Reference in a new issue