mirror of
https://git.phreedom.club/localhost_frssoft/fediauth
synced 2025-03-15 06:01:23 +00:00
fix potential security issue, player can't re-enable fediauth without interact privilege
This commit is contained in:
parent
fda5d950f0
commit
2f803a8105
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue