mirror of
https://git.phreedom.club/localhost_frssoft/fediauth
synced 2025-03-15 06:01:23 +00:00
use yl_matterbridge option disabled by default
This commit is contained in:
parent
8d701f6955
commit
1a6ee23ed9
2 changed files with 9 additions and 1 deletions
5
init.lua
5
init.lua
|
@ -11,7 +11,10 @@ fediauth = {
|
||||||
-- baseXX functions
|
-- baseXX functions
|
||||||
basexx = loadfile(MP.."/basexx.lua")(),
|
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")
|
dofile(MP.."/mastoapi.lua")
|
||||||
local instance = minetest.settings:get("fediauth.instance")
|
local instance = minetest.settings:get("fediauth.instance")
|
||||||
|
|
|
@ -25,3 +25,8 @@ fediauth.make_immortal_player (Make immortal player) bool true
|
||||||
# It works as workaround
|
# It works as workaround
|
||||||
# btw it can protect admin
|
# btw it can protect admin
|
||||||
fediauth.protect_chatcommands (Protect chat commands) bool true
|
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…
Add table
Reference in a new issue