Skip to content

NVR with realtime local object detection for IP cameras

Auto focus user field for login (#12083)

Nicolas Mowen73755e9777a5
diff --git a/web/src/components/auth/AuthForm.tsx b/web/src/components/auth/AuthForm.tsx
index e239ae5e6e..8050857748 100644
--- a/web/src/components/auth/AuthForm.tsx
+++ b/web/src/components/auth/AuthForm.tsx
@@ -93,6 +93,7 @@ export function UserAuthForm({ className, ...props }: UserAuthFormProps) {
<FormControl>
<Input
className="text-md w-full border border-input bg-background p-2 hover:bg-accent hover:text-accent-foreground dark:[color-scheme:dark]"
+ autoFocus
{...field}
/>
</FormControl>