diff --git a/builtin/game/auth.lua b/builtin/game/auth.lua index 3ca7336f1..3e09f19ee 100644 --- a/builtin/game/auth.lua +++ b/builtin/game/auth.lua @@ -47,6 +47,8 @@ local function read_auth_file() if (name and password and privilege_string) then local privileges = core.string_to_privs(privilege_string) newtable[name] = {password=password, privileges=privileges, last_login=last_login} + else + core.log("error", "Invalid line in "..core.auth_file_path..": "..line.."; ignoring.") end end end