mirror of
https://github.com/minetest/minetest.git
synced 2024-11-23 16:13:46 +01:00
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", {
|
core.register_chatcommand("setpassword", {
|
||||||
params = S("<name> <password>"),
|
params = S("<name> <password>"),
|
||||||
description = S("Set player's password"),
|
description = S("Set player's password (sent unencrypted, thus insecure)"),
|
||||||
privs = {password=true},
|
privs = {password=true},
|
||||||
func = function(name, param)
|
func = function(name, param)
|
||||||
local toname, raw_password = string.match(param, "^([^ ]+) +(.+)$")
|
local toname, raw_password = string.match(param, "^([^ ]+) +(.+)$")
|
||||||
|
Loading…
Reference in New Issue
Block a user