mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-05 11:42:17 +00:00
feat: add autofocus to two-factor authentication input
This commit is contained in:
@@ -329,6 +329,7 @@ export default function Home({ IS_CLOUD }: Props) {
|
|||||||
maxLength={6}
|
maxLength={6}
|
||||||
pattern={REGEXP_ONLY_DIGITS}
|
pattern={REGEXP_ONLY_DIGITS}
|
||||||
autoComplete="off"
|
autoComplete="off"
|
||||||
|
autoFocus
|
||||||
>
|
>
|
||||||
<InputOTPGroup>
|
<InputOTPGroup>
|
||||||
<InputOTPSlot index={0} className="border-border" />
|
<InputOTPSlot index={0} className="border-border" />
|
||||||
|
|||||||
Reference in New Issue
Block a user