mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 10:03:45 +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