Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.

Commit

Permalink
Disable autocomplete on the SSH login input (#605) (#639)
Browse files Browse the repository at this point in the history
This prevents password managers like 1password from attempting to
autocomplete the SSH login, which is not a standard password field.

Fixes gravitational/teleport#10356
  • Loading branch information
zmb3 authored Mar 7, 2022
1 parent 02e7791 commit b675634
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/shared/components/MenuSshLogin/MenuSshLogin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ export const LoginItemList = ({ logins, onClick, onKeyPress }) => {
type="text"
autoFocus
placeholder="Enter login name..."
autoComplete="off"
/>
{$menuItems}
</React.Fragment>
Expand Down

0 comments on commit b675634

Please sign in to comment.