Minor punctuation change in halyde/kernel/modules/user.lua

This commit is contained in:
WahPlus
2025-10-30 15:18:32 +02:00
parent 3e3e35860c
commit bef22740f6
+2 -2
View File
@@ -27,14 +27,14 @@ function module.init()
local userRegistry = json.decode(data)
if not userRegistry[userId] then
return false, "No such UID"
return false, "No such UID."
end
local salt = md5.sumhexa(userRegistry[userId].name) -- A little bit of salt and pepper
local passwordHash = md5.sumhexa(userPassword .. salt)
if passwordHash ~= userRegistry[userId].hash then
wait(3) -- Something to hopefully shove away brute forcers
return false, "Password incorrect"
return false, "Password incorrect."
end
local task = coroutine.create(func)