diff --git a/.claude/settings.local.json b/.claude/settings.local.json
index 3813b0e6..9a3d8037 100644
--- a/.claude/settings.local.json
+++ b/.claude/settings.local.json
@@ -85,7 +85,11 @@
"Bash(grep -E \"\\\\.\\(py|ts\\)$\")",
"Bash(grep -E \"\\\\.py$\")",
"Bash(git worktree *)",
- "Bash(npm list *)"
+ "Bash(npm list *)",
+ "Bash(netstat -tulpn)",
+ "Bash(curl -k -v https://192.168.84.131:8918/users/)",
+ "Bash(curl -k -s https://192.168.84.131:8918/users/)",
+ "Bash(grep -E \"\\\\.\\(tsx|ts|jsx|js\\)$\")"
]
}
}
diff --git a/frontend/app/login/page.tsx b/frontend/app/login/page.tsx
index 776697a6..8b9810c0 100644
--- a/frontend/app/login/page.tsx
+++ b/frontend/app/login/page.tsx
@@ -209,21 +209,20 @@ export default function LoginPage() {
- {!selectedUserForLogin.username && (
-
-
-
-
- setSelectedUserForLogin({...selectedUserForLogin, username: e.target.value})}
- className="w-full bg-slate-800/50 border border-slate-800 focus:border-primary rounded-2xl py-4 pl-12 pr-4 text-white focus:outline-none transition-all placeholder:text-slate-700 font-mono"
- placeholder="Admin"
- />
-
+
+
+
+
+ setSelectedUserForLogin({...selectedUserForLogin, username: e.target.value})}
+ className="w-full bg-slate-800/50 border border-slate-800 focus:border-primary rounded-2xl py-4 pl-12 pr-4 text-white focus:outline-none transition-all placeholder:text-slate-700 font-mono"
+ placeholder="Admin"
+ />
- )}
+
@@ -233,7 +232,7 @@ export default function LoginPage() {
ref={localPassRef}
data-testid="local-password-input"
type="password"
- autoFocus
+ autoFocus={!!selectedUserForLogin.username}
onKeyDown={(e) => e.key === 'Enter' && handleLogin()}
className="w-full bg-slate-800/50 border border-slate-800 focus:border-primary rounded-2xl py-4 pl-12 pr-4 text-white/50 focus:text-white focus:outline-none transition-all placeholder:text-slate-700 font-mono"
placeholder="Enter password"