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
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 committed Feb 17, 2022
1 parent 10b89de commit 07d6829
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 07d6829

Please sign in to comment.