1.2-dev #9

Merged
Astronand merged 3 commits from 1.2-dev into main 2026-03-11 10:37:44 -04:00
Showing only changes of commit a5e8624368 - Show all commits

View File

@@ -130,8 +130,9 @@ local function doLogin()
syscall.write(1, "Password: ")
local password = readLine("*")
local ok, err = syscall.login(username, password)
local uid = syscall.getuidbyname(username)
local ok, err = syscall.login(uid, password)
if ok then
local uid = syscall.getuid()
local pwent = syscall.getpasswd(uid)