Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

chore(core): password input should be focused (#7125)

fundon235882f6f3f3
diff --git a/packages/frontend/core/src/components/affine/auth/sign-in-with-password.tsx b/packages/frontend/core/src/components/affine/auth/sign-in-with-password.tsx
index 6f12fa0c34..450ef2f51a 100644
--- a/packages/frontend/core/src/components/affine/auth/sign-in-with-password.tsx
+++ b/packages/frontend/core/src/components/affine/auth/sign-in-with-password.tsx
@@ -91,6 +91,7 @@ export const SignInWithPassword: FC<AuthPanelProps> = ({
value={email}
/>
<AuthInput
+ autoFocus
data-testid="password-input"
label={t['com.affine.auth.password']()}
value={password}