Skip to content

Commit 2231bf2

Browse files
authored
Prevent autocompleting the username field (#88682) (#89926)
1 parent 8a413b5 commit 2231bf2

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

x-pack/plugins/security/public/authentication/login/components/login_form/__snapshots__/login_form.test.tsx.snap

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

x-pack/plugins/security/public/authentication/login/components/login_form/login_form.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,7 @@ export class LoginForm extends Component<Props, State> {
221221
{...this.validator.validateUsername(this.state.username)}
222222
>
223223
<EuiFieldText
224+
autoComplete="off"
224225
id="username"
225226
name="username"
226227
data-test-subj="loginUsername"

0 commit comments

Comments
 (0)