]> git.lizzy.rs Git - minetest.git/commitdiff
Say /setpassword is insecure
authorVitra Suchovich <109279853+56independent@users.noreply.github.com>
Fri, 17 Feb 2023 23:04:52 +0000 (00:04 +0100)
committerGitHub <noreply@github.com>
Fri, 17 Feb 2023 23:04:52 +0000 (00:04 +0100)
builtin/game/chat.lua

index bbcdcf2d060a7a07d680e6b59607cb0aa67743bd..baab5212f0670ca854e4622405632c53a1451acb 100644 (file)
@@ -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, "^([^ ]+) +(.+)$")