From da0812db0c2add88f885f8b4b6af889d9f165a81 Mon Sep 17 00:00:00 2001 From: Shaun Patterson Date: Fri, 12 Jun 2026 10:40:59 -0400 Subject: [PATCH] fix: pass namespace when submitting login form with Enter The form's onSubmit handler called onLogin(userid, password) without the namespace argument, so keyboard-submitted logins on multi-tenancy clusters dispatched loginIntoNamespace with Number(undefined) = NaN instead of the namespace typed into the form. The Login button already passed it correctly. Co-Authored-By: Claude Fable 5 --- client/src/components/ServerLoginWidget.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/components/ServerLoginWidget.js b/client/src/components/ServerLoginWidget.js index 1a1e0dc0..b1949fbe 100644 --- a/client/src/components/ServerLoginWidget.js +++ b/client/src/components/ServerLoginWidget.js @@ -44,7 +44,7 @@ export default function ServerLoginWidget({ isMultiTenancyEnabled }) {
{ e.preventDefault() - onLogin(userid, password) + onLogin(userid, password, namespace) }} >