mirror of
https://git.phreedom.club/localhost_frssoft/fediauth.git
synced 2024-11-17 13:42:38 +00:00
fix potential security issue, player can't re-enable fediauth without interact privilege
This commit is contained in:
parent
fda5d950f0
commit
2f803a8105
|
@ -21,6 +21,7 @@ minetest.register_chatcommand("fediauth_off", {
|
|||
|
||||
minetest.register_chatcommand("fediauth_on", {
|
||||
description = "Enable the fediauth verification",
|
||||
privs = { interact = true },
|
||||
func = function(name)
|
||||
local secret_b32 = fediauth.get_player_secret_b32(name)
|
||||
|
||||
|
|
Loading…
Reference in a new issue