Skip to content

Commit

Permalink
🚸 Login form autoComplete attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreMiras committed Dec 9, 2024
1 parent fc9312d commit 9f80c7e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/Login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,15 @@ const Login = () => {
className="me-2"
aria-label="Email"
onChange={onUsernameChange}
autoComplete="username"
/>
<Form.Control
type="password"
placeholder="Password"
className="me-2"
aria-label="Password"
onChange={onPasswordChange}
autoComplete="current-password"
/>
<Button variant="primary" type="submit" onClick={onLogin}>
Login
Expand Down

0 comments on commit 9f80c7e

Please sign in to comment.