From d8f6c626efbe2ac1ebe3093fc1eb1ae4021db3ab Mon Sep 17 00:00:00 2001 From: Layla Manley Date: Sun, 8 Oct 2023 00:35:08 -0400 Subject: [PATCH] iteration --- auth_server.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auth_server.lua b/auth_server.lua index 617daa8..4fbd365 100644 --- a/auth_server.lua +++ b/auth_server.lua @@ -73,7 +73,7 @@ while true do rednet.send(client_id, "user not found") end - if convert_password(data.users[request.username].password) == request.password then + if convert_password(request.password) == data.users[request.username].password then local token = generate_token(request.username) rednet.send(client_id, token)