forked from Mirrorlandia_minetest/minetest
Say /setpassword is insecure
This commit is contained in:
parent
0e721f7571
commit
2dafce6206
@ -416,7 +416,7 @@ core.register_chatcommand("revokeme", {
|
||||
|
||||
core.register_chatcommand("setpassword", {
|
||||
params = S("<name> <password>"),
|
||||
description = S("Set player's password"),
|
||||
description = S("Set player's password (sent unencrypted, thus insecure)"),
|
||||
privs = {password=true},
|
||||
func = function(name, param)
|
||||
local toname, raw_password = string.match(param, "^([^ ]+) +(.+)$")
|
||||
|
Loading…
Reference in New Issue
Block a user