Say /setpassword is insecure

This commit is contained in:
Vitra Suchovich 2023-02-18 00:04:52 +01:00 committed by GitHub
parent 0e721f7571
commit 2dafce6206
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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, "^([^ ]+) +(.+)$")