From 76a4ff12a210d2b1993bf75bf628f1661d86480f Mon Sep 17 00:00:00 2001 From: Happy_mimimix Date: Mon, 10 Feb 2025 09:49:54 -0500 Subject: [PATCH] Blank password bugfix! --- Installer/Main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Installer/Main.lua b/Installer/Main.lua index ac1b5490..2e62b491 100644 --- a/Installer/Main.lua +++ b/Installer/Main.lua @@ -352,7 +352,7 @@ end local function checkUserInputs() local nameEmpty = #usernameInput.text == 0 local nameVaild = usernameInput.text:match("^%w[%w%s_]+$") - local passValid = withoutPasswordSwitchAndLabel.switch.state or #passwordInput.text == 0 or #passwordSubmitInput.text == 0 or passwordInput.text == passwordSubmitInput.text + local passValid = withoutPasswordSwitchAndLabel.switch.state or (#passwordInput.text > 0 and #passwordSubmitInput.text > 0 and passwordInput.text == passwordSubmitInput.text) if (nameEmpty or nameVaild) and passValid then usernamePasswordText.hidden = true