mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Say /setpassword is insecure
This commit is contained in:
parent
0e721f7571
commit
2dafce6206
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue