mirror of
https://github.com/minetest/minetest.git
synced 2024-12-23 14:42:24 +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", {
|
||||
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